🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JFrame blinks when disabled/enabled

#12643
From: Max Polk
Date: Fri, 04 Dec 1998 00:00
13 lines
1037 bytes
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: <MPG.10d21d64ea30a5769896c0@forums.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,9213f559d444efc2,start
X-Google-Attributes: gid111d45,public
From: none@none.com (Max Polk)
Subject: JFrame blinks when disabled/enabled
Date: 1998/12/04
Message-ID: <MPG.10d21d64ea30a5769896c0@forums.borland.com>
X-Deja-AN: 418739810
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing