View Single Post
  #2 (permalink)  
Old 05-19-2007, 01:01 AM
levent levent is offline
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
Hi noisepoet,

Welcome to Java Forums. You are our 100th member

There is a setEnabled(boolean value) method for JButtons. you should call this method of the buttons you want to disable.

For example for button named as myButton, you use the following code:

Code:
myButton.setEnabled(false);
Reply With Quote