• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add the image in Button(Awt component)

 
Subash ChandraBose
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friends

i have to add the image in Button .Button is Awt component
plz help me
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
subclass Button and in paint() draw your image
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!