Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with JToggleButton and Toolbar  RSS feed

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reading my post.
I have a JToggleButton and a toolbar , i want my buttons to act like formal button , for example like simple OK button that when we press it it come up again.
now that i add this JToggleButton to my toolbar , after i press it it stay down until i press again.
is there any solution for this problem ?
I want my toolbar button to act like simple buttons.

Thank you
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!