This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Applets and the fly likes How to add in button and paint in applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "How to add in button and paint in applet?" Watch "How to add in button and paint in applet?" New topic
Author

How to add in button and paint in applet?

Edward Sie
Greenhorn

Joined: Mar 08, 2011
Posts: 5
i having problem of adding the button and paint graphic together.. should it using paint Component?




Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
should it using paintComponent?

Yes. See Lesson: Performing Custom Painting and Painting in AWT and Swing.


Android appsImageJ pluginsJava web charts
Edward Sie
Greenhorn

Joined: Mar 08, 2011
Posts: 5
yeap~ but i cnt manage to add in paintcomponent.. actually i dono how to use paint component~ i hope can be teach =)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add in button and paint in applet?
 
Similar Threads
JTextFields & storing data
class variables exp w/?
the display of my applet in html got problem~
Racing game does not work(HELP!!!!)
how to access instance variables