Re: Install keystroke on action without using a JMenuItem
- From: "Andrey Kuznetsov" <spam0@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 31 Dec 2005 16:32:06 +0100
> I need to install an Action with a defined accelerator key without
> using a corresponding JMenuItem. I've got a JButton to correspond with
> the accelerator key, but no Menu item.
JComponent.registerKeyboardAction();
http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html
--
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
.
- References:
- Install keystroke on action without using a JMenuItem
- From: Bart Cremers
- Install keystroke on action without using a JMenuItem
- Prev by Date: Re: J2ME Video Horizontal (where have all the j2me's gone?)
- Next by Date: Re: J2ME MIDP 1.0 reading files outside jar /res ?
- Previous by thread: Install keystroke on action without using a JMenuItem
- Next by thread: JList getSelectedValue returning null
- Index(es):