Re: how to get area of room
by bandara » Mon Jul 11, 2011 2:44 pm
Sir, do i have to use any actionListners to do it, or is there any other class/object that i have to create, before calling getArea.
I'm confusing, how that real values, come to method when calling it.
I "sout" getPoints using "for" loop, but it returned values which i call when create object of Room (i.e. float s1[][] = { { 0, 0 }, { 0, 4 }, { 4, 4 }, { 4, 0 } };)
So, can you please tell me how can i request the area of the displayed room.