Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get image on a button using applet

 
Sharath Chandra Nath
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
im trying to get image on the button so that i can perform action listener for the particular image.. but im unable to get it.
can you please semd me the complete code how to put image on a button.
Please do it only in awt with out using swing components
Thanks and regards
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some searching would have produced this topic... in which I gave code for a question suprisingly similiar to the one you asked...
http://www.javaranch.com/ubb/Forum2/HTML/000865.html

-Nate
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic