๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.java.programmer
2 messages
2 total messages Started by morris_newsgroup Wed, 15 Jul 1998 00:00
Hot Key or Access Key question
#429
Author: morris_newsgroup
Date: Wed, 15 Jul 1998 00:00
12 lines
1446 bytes
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.

Thanks,
Morris

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
Re: Hot Key or Access Key question
#430
Author: 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       |
+----------------------+--------------------------------+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads