Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
SWING question...

SWING question...

2006-06-16       - By Sanjeev K.R

 Back
Reply:     1     2     3  

HI,

 Sometimes it would be Tricky

 Add ChangeListener to the Checkbox and enable and disable in the overridden
method, i think its valueChanged() from where you can get the state of the
check box
 I think this should work.

 Hope it helps U

 Sanjeev


Vadim Vera <vadim.vera@(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: vadim.vera@(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, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected) and include in the body of the message "help".



-- ---- ---- ---- ---- ---- -----
Sneak preview the  all-new Yahoo.com. It's not radically different. Just
radically better.

===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".

<div>HI,</div>  <div>&nbsp;</div>  <div>Sometimes it would be Tricky</div>  
<div>&nbsp;</div>  <div>Add ChangeListener to the Checkbox and enable and
disable in the overridden method, i think its valueChanged() from where you can
get the state of the check box</div>  <div>I think this should work.</div>  
<div>&nbsp;</div>  <div>Hope it helps U</div>  <div>&nbsp;</div>  <div>Sanjeev<
/div>  <div><BR><BR><B><I>Vadim Vera &lt;vadim.vera@(protected)&gt;</I></B> wrote:
</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #1010ff 2px solid">Hi list:<BR><BR>I know this is not the exactly
list to ask for a SWING question, so if<BR>someone is using / or used SWING
please I've a very common issue. I need to<BR>disable a component (a button
specifically) and enable it when some<BR>parameters arise (a checkbox is
selected or many and so on), so if these<BR>components are deselected, the
button cames disabled too...that's all...very<BR>simple, but SWING
is a little bit complicated sometimes.<BR><BR>Thanks in advance...<BR><BR><BR>
--<BR>Vadim Vera<BR><BR>Telephone:<BR>Mobile Phone:<BR>E-Mail: vadim.vera@(protected)
.com<BR>Web:<BR><BR><BR>| BSD: A psychoactive drug, popular in the 80s, probably
developed at UC<BR>| Berkeley or thereabouts. Similar in many ways to the
prescription-only<BR>| medication called "System V", but infinitely more useful
. (Or, at least,<BR>| more fun). The full chemical name is "Berkeley Standard
Distribution"<BR><BR>==========================================================
=================<BR>To unsubscribe, send email to listserv@(protected) and
include in the body<BR>of the message "signoff J2EE-INTEREST". For general help
, send email to<BR>listserv@(protected) and include in the body of the message
"help".<BR></BLOCKQUOTE><BR><p>&#32;

               <hr size=1>Sneak preview the <a href="http://us.rd.yahoo.com
/evt=40762/*http://www.yahoo.com/preview"> all-new Yahoo.com</a>. It's not
radically different. Just radically better.
===========================================================================
To unsubscribe, send email to listserv@(protected) and include in the body
of the message "signoff J2EE-INTEREST".  For general help, send email to
listserv@(protected) and include in the body of the message "help".
<p>

©2008 junlu.com - Jax Systems, LLC, U.S.A.