Article View: borland.public.jbuilder.java.swing
Article #10371Alt key in JTextField
From: Jean-Paul Finne
Date: Mon, 11 Oct 1999 00:00
Date: Mon, 11 Oct 1999 00:00
11 lines
917 bytes
917 bytes
I try to use mnemonic keys to quickly set to focus from one control to another. I tried the "displayedMnemonic" property of JLabel and "focusAccelerator" property of JTextField. It works, the user can switch to a control with (for example) the Alt-A combination. There is just one BIG problem : the A is inserted into the text field as any regular key. Is it a way to avoid easily this behaviour. Jean-Paul Finne
Technical Details
Message-ID:
<7tsp9v$iij10@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a182c85174837f02,start X-Google-Attributes: gid111d45,public From: "Jean-Paul Finne" <jpf@basc.be> Subject: Alt key in JTextField Date: 1999/10/11 Message-ID: <7tsp9v$iij10@forums.borland.com> X-Deja-AN: 535377396 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing