Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Could someone please give me a little information how to make graphics in a java application (not applet). I want to combine it with labels, buttons etc. I tried to use the paint(Graphics g) method, but then everything else in the JFrame dissapeared. I wrote g.fillRect(20,20,10,10); in the paint method, and I sure got a rectangle, butt only that. Is it the paint method I should use making graphics in a java-app??
Replies:
|
Sponsored Links
|