🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: using setEnabled(b) on a JPanel

#12179
From: Tor Iver Wilhelmsen
Date: Wed, 10 Feb 1999 00:00
11 lines
841 bytes
"Timothy E. Raborn" <traborn@ametro.net> writes:

> Does anyone see a problem with my code or is there another way of doing
> this?  My guess is that the problem may lie in the "super.setEnabled(b)"
> call.

If you want to disable events to all components, try

getGlassPane().setVisible(true);

to "cover them up". Doesn't paint the components as disabled, though.
Technical Details
Message-ID: <uemnyipb5.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36C0999F.210C1476@ametro.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d047d73010301ae2
X-Google-Attributes: gid111d45,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: using setEnabled(b) on a JPanel
Date: 1999/02/10
Message-ID: <uemnyipb5.fsf@sds.no>
X-Deja-AN: 442754826
Sender: towi@SDSA1761
References: <36C0999F.210C1476@ametro.net>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing