Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JButton (pressed state)  RSS feed

 
Manoj Tyagi
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all,
I am using JButton(Image Icon). Now I want that when i click this button(image), it should look pressed. However I do not want to use another ImageIcons for methods (like setRolloverIcon,setPressedIcons etc).
I just want my button image to be looked pressed, when i click it.
Please help me.
Manoj Tyagi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!