I want to know how can I draw a graphic in java.
I have to set x and y coordinates but I don't find the class to do that.
Thanks
Printable View
I want to know how can I draw a graphic in java.
I have to set x and y coordinates but I don't find the class to do that.
Thanks
I think u can use
g.drawgraphics keyword to draw
What you want is called Java2D. Check the following tutorial for lots of details:
Java2D: An Introduction and Tutorial