๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #430

Re: Hot Key or Access Key question

#430
From: Marco Jacob
Date: Thu, 16 Jul 1998 00:00
20 lines
1898 bytes
Hi Morris,

morris_newsgroup@yahoo.com wrote:
> Just wonder, does anyone know if there is hot key or access key support in
> Java AWT for buttons so that when I press 'Alt-O' on my keyboard, my ok
> button will get the focus (which was on some other control before pressing
> Alt-O) and behave as if it is clicked.  I don't seem to find anything related
> to this.  By the way, I'm using JBuilder2 even though this may be just a
> general java question. Let me know if you have any suggestions.

The Swing libraries of the JFC include hotkey management.
There is no support for hotkey in the basic awt.
-- 
+---------------+---------------------------------------+
|  Marco Jacob  | picture/safe MEDIA/DATA/BANK GmbH     |
+---------------+------+--------------------------------+
| Software Development |  mailto:mjacob@picture-safe.de |
| L๏ฟฝerstr. 3           |  phone: +49 511/85620-54       |
| D-30175 Hannover     |  fax:   +49 511/85620-10       |
+----------------------+--------------------------------+
Technical Details
Message-ID: <35ADED1B.B2A6BA7A@picture-safe.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6oj4u6$t2a$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fa3e3,4b18fe66931c6e09
X-Google-Attributes: gidfa3e3,public
X-Google-Thread: 10a146,4b18fe66931c6e09
X-Google-Attributes: gid10a146,public
X-Google-Thread: 10fd6d,4b18fe66931c6e09
X-Google-Attributes: gid10fd6d,public
X-Google-Thread: f74b3,4b18fe66931c6e09
X-Google-Attributes: gidf74b3,public
From: Marco Jacob <mjacob@picture-safe.de>
Subject: Re: Hot Key or Access Key question
Date: 1998/07/16
Message-ID: <35ADED1B.B2A6BA7A@picture-safe.de>
X-Deja-AN: 372003160
Content-Transfer-Encoding: 8bit
References: <6oj4u6$t2a$1@nnrp1.dejanews.com>
To: morris_newsgroup@yahoo.com
Content-Type: text/plain; charset=iso-8859-1
Organization: picture/safe
Mime-Version: 1.0
Newsgroups: comp.lang.java.programmer,borland.public.jbuilder.java.language,comp.lang.java.gui,borland.public.jbuilder.ide