🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9833

Re: Enabling Combo Boxes

#9833
From: Jeff Cahill
Date: Fri, 07 Jan 2000 00:00
33 lines
1239 bytes
Novice mistake

Use

component.setEnabled(true);


Jeff Cahill <jcahill@kaisoft.com> wrote in message
news:8550jh$rmo11@bornews.borland.com...
> I will use JdbNavComboBox as an example, but this seems to occur on all
> combo boxes.  If I initially disable the component, then enable in code,
the
> component does not enable.  Repaint does nothing.  The component works,
i.e.
> drops down, but does not look enabled.
>
> The same is true for JCheckBox, but the component does not work.
>
> Main Question, how do you enable certain components in code.
>
> tried:
>
> component.setEnabled(true);
> component.repaint(true);
>
> does not work!
>
>
> Thanks,
>   Jeff
>
>
>
Technical Details
Message-ID: <8555qm$rmj26@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8550jh$rmo11@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,64ba3d80fd7acff3
X-Google-Attributes: gid111d45,public
From: "Jeff Cahill" <jcahill@kaisoft.com>
Subject: Re: Enabling Combo Boxes
Date: 2000/01/07
Message-ID: <8555qm$rmj26@bornews.borland.com>
X-Deja-AN: 569610099
References: <8550jh$rmo11@bornews.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing