🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Enabling Combo Boxes

#9829
From: Jeff Cahill
Date: Fri, 07 Jan 2000 00:00
19 lines
999 bytes
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: <8550jh$rmo11@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,64ba3d80fd7acff3,start
X-Google-Attributes: gid111d45,public
From: "Jeff Cahill" <jcahill@kaisoft.com>
Subject: Enabling Combo Boxes
Date: 2000/01/07
Message-ID: <8550jh$rmo11@bornews.borland.com>
X-Deja-AN: 569574210
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