Dear Vadim, You need to add a listened to checkbox annd in the listened you have API support for kwing whether the ckeck box is selected or not. Depeding on the state of check box, you can dissable or enable a button. If u want a working copy of this , as soon as i reach office on monday, i will send one for you
Cheers ph Vadim Vera <[EMAIL PROTECTED]> wrote: Hi list: I know this is not the exactly list to ask for a SWING question, so if someone is using / or used SWING please I've a very common issue. I need to disable a component (a button specifically) and enable it when some parameters arise (a checkbox is selected or many and so on), so if these components are deselected, the button cames disabled too...that's all...very simple, but SWING is a little bit complicated sometimes. Thanks in advance... -- Vadim Vera Telephone: Mobile Phone: E-Mail: [EMAIL PROTECTED] Web: | BSD: A psychoactive drug, popular in the 80s, probably developed at UC | Berkeley or thereabouts. Similar in many ways to the prescription-only | medication called "System V", but infinitely more useful. (Or, at least, | more fun). The full chemical name is "Berkeley Standard Distribution" =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com