• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jbutton and color image

 
Jay Kamdar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to display numbers when the user clicks a Jbutton depending on the variable and I need a colored Icon but the button is enabled. Is this possible?

If not, how can i set text to the Jbutton, it is too big and only shows three dots.
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this "image" on the JButton? What does the button deing enabled or not have to do with it? Have you considered implementing Icon?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!