Hello all!I would like to know how to make a Button to be enabled when i click on a certain checkbox..and if i uncheck i want the button not to be enabled..Can anyone pls provide me with a nice way to do this? Thanks! :-D
[249 byte] By [River_Platea] at [2007-11-27 9:03:10]
Add a change listener to the check box, and set the button enabled/disabled in the stateChanged method. http://java.sun.com/docs/books/tutorial/uiswing/events/changelistener.html