hi...
i'm having a problem wiht java, please help me :-)
if i have a rectangle and i can specify the coordinates of all the corner points. then i would like to devide the rectangle into smaller rectangle for example as many as i in the x direction and j in y direction. How can i make the syntax so the java could count the coordinates of all other points??
thanks in advance
I don't understand what you want... you say that
you're specifying the coordinates of the corners. Doesn't that mean you don't need
java to count them again for you? Either way, once you made the rectangle/drawn it, java stores it as an object, and that object would have stored the corner points as well as heights and widths.
You can then just draw a bunch of other rectangles, what is the problem again?
Sorry, just elaborate further on the specific issue...
-blazed