🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JDesktopPane and JInternalFrames

#11937
From: Eelco Hillenius
Date: Tue, 16 Mar 1999 00:00
23 lines
1342 bytes
I've got a serious problem!

I have build an application using JInternalFrames, which are added to a
JDesktopPane. The problem is thats, if a user has more frames opened and
uses the TAB key, it rotates all the frames, instead of what I'm used of -
and want - : it rotates just the components of the frame that has the
current focus.

This beheavore has some nasty side-effects in my application, because the
user is pushing buttons on panels he's not aware of.

Is this a known problem?

I tried to use requestFocus() to the first component on the last component
on each frame on keypressed events (== KeyEvent.VK_TAB)... does'nt help.

Is the a way to make a JInternalFrame modal?

Can someone please help me?


Eelco Hillenius
Blue Point Designware
Technical Details
Message-ID: <921614111.453108@tbird.introweb.nl>
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,901735e0d644a32e,start
X-Google-Attributes: gid111d45,public
From: "Eelco Hillenius" <illy@cybercomm.nl>
Subject: JDesktopPane and JInternalFrames
Date: 1999/03/16
Message-ID: <921614111.453108@tbird.introweb.nl>
X-Deja-AN: 455737008
Cache-Post-Path: tbird.introweb.nl!unknown@ip51-98.introweb.nl
Organization: IntroWeb Newsserver
X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/)
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Newsgroups: borland.public.jbuilder.java.swing