Article View: borland.public.jbuilder.java.swing
Article #12586Re: JFrame blinks when disabled/enabled
From: Steve Waters
Date: Thu, 10 Dec 1998 00:00
Date: Thu, 10 Dec 1998 00:00
22 lines
1450 bytes
1450 bytes
A way around this is to have your own mouse listener for the tabbed pane, and enable or disable the changing of the tabbed pane at your will. Or if a check box has been selected. etc. Steve Max Polk wrote: > Why is it that JFrame redraws each time you disable/enable it? It has > this hideous appearance when you do that, and the users have to endure a > junky GUI. > > I have thought about disabling each individual component inside of the > JFrame, but there doesn't appear to be a way to disable tabbed panes. > > I also thought about creating an impervious glass pane, but even that > with keystroke consuming still for some reason allows tab and/or shift- > tab to "get into" the focus of the content pane, and allow the space key > to cause a button to push. > > There appears to be no way around a junky-looking redraw! Any help?
Technical Details
Message-ID:
<366F657A.F9D56D0C@bellsouth.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<MPG.10d21d64ea30a5769896c0@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,9213f559d444efc2 X-Google-Attributes: gid111d45,public From: Steve Waters <steve_w@bellsouth.net> Subject: Re: JFrame blinks when disabled/enabled Date: 1998/12/10 Message-ID: <366F657A.F9D56D0C@bellsouth.net> X-Deja-AN: 420710855 Content-Transfer-Encoding: 7bit References: <MPG.10d21d64ea30a5769896c0@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing