Article View: borland.public.jbuilder.java.swing
Article #7464Re: Disable a JFrame
From: John McGrath TeamB
Date: Tue, 23 Jan 2001 10:55
Date: Tue, 23 Jan 2001 10:55
16 lines
1202 bytes
1202 bytes
On 22 Jan 2001 22:53:30 -0800, Torsten Welches wrote:
> you'd have to loop over all controls and disable them
> individually.
There is a better approach. Show the "glass pane" of your JFrame, and
add a dummy MouseListener to it, and set the cursor on the glass pane.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.14d727d84359fb52989ee9@forums.borland.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mailReferences:
<3a6cbccf_2@dnews> <3a6d2a6a$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a73de5d7d5c994ca X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-23 02:57:43 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!not-for-mail From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Disable a JFrame Date: Tue, 23 Jan 2001 05:55:31 -0500 Organization: Another Netscape Collabra Server User Lines: 16 Message-ID: <MPG.14d727d84359fb52989ee9@forums.borland.com> References: <3a6cbccf_2@dnews> <3a6d2a6a$1_2@dnews> NNTP-Posting-Host: dslcv1-60.fast.net X-Newsreader: MicroPlanet Gravity v2.30