Register / Login
Other JSE/JEE APIs
g2d line rotate towards specified x/y
posted 9 years ago
im trying to make a line that i drew uysing Graphics2D to rotate towards a specified x/y (and would be rotating around in a circular fashion). from what i know of rotation i would do something like
but how can i make it so that the line point in the direction of a specified x/y that i give it?
need help creating a method for rotate
help implementing a simple Line class
Need help on animation using GUI Builder.