• Post Reply Bookmark Topic Watch Topic
  • New Topic

Supporting background images in JButton .. I need help here

 
Meghna ks
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I've designed a ToolBar bean which has a series of buttons. I need the buttons to support background images apart from the text & icon that come as part of the button constructor. How do I approach this problem ?!! Is it possible to support background images using JButton ?!! Or is there any other component I should be looking at ?!! I tried ImageButton & LabelButtons, but there is always a compromise b/w the image & text.
Thanks
Meghna
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!