• Post Reply Bookmark Topic Watch Topic
  • New Topic

How I disable jbutton after single click

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How I disable jbutton object after single click and then make enable on again startup of the application
 
sahas ullur
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the button's actionlistener try to do
button.setEnabled(false);
hope this helps
sahas
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!