🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Interesting menu problem in Swing - PLEASE ADVISE!

#12176
From: kerbel
Date: Tue, 09 Feb 1999 00:00
21 lines
1202 bytes
Hi

Please could someone help me out here:

I'm designing a text editor containing JInternalFrames within a
JDesktopPane. Within each internal frame is a JTextPane.

My problem is: when an internal frame is active and the caret is
flashing within the text pane, whenever I use the mnemonics to get one
of the menus, the menu displays but I cannot navigate through it using
the keyboard. 

The caret is still in focus within the text pane. Is there a way of
ensuring that focus is set to the menu when the mnemonic is
activated???

Any help would be greatly appreciated.

Many thanks in advance
Uri
--
Technical Details
Message-ID: <36c0867e.22515857@news.demon.co.uk>
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,b75e6c5759d3105f,start
X-Google-Attributes: gid111d45,public
From: kerbel@kalbi.demon.co.uk
Subject: Interesting menu problem in Swing - PLEASE ADVISE!
Date: 1999/02/09
Message-ID: <36c0867e.22515857@news.demon.co.uk>
X-Deja-AN: 442508736
X-NNTP-Posting-Host: kalbi.demon.co.uk:158.152.128.133
X-Trace: news.demon.co.uk 918587319 nnrp-09:18654 NO-IDENT kalbi.demon.co.uk:158.152.128.133
Reply-To: kerbel@kalbi.demon.co.uk
Newsgroups: borland.public.jbuilder.java.swing
X-Complaints-To: abuse@demon.net