File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Accelerators: with and without ctrl key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Accelerators: with and without ctrl key" Watch "Accelerators: with and without ctrl key" New topic
Author

Accelerators: with and without ctrl key

Ken Seehof
Greenhorn

Joined: May 07, 2004
Posts: 9
I would like to define accelerators that do not use the control key.
The semantics for accelerators seem to be as follows:

If the accelerator specifies control (e.g. "ctrl C") control is required.

Otherwise, (e.g. "C"), control is optional.

This means that if I have both ("C" = calibrate, and "Ctrl C" = copy),
the "C" gets in the way of "Ctrl C" (thereby preventing use of the clipboard).

Is there a workaround (aside from just handling keystrokes directly)?
Thanks,
Ken
Ken Seehof
Greenhorn

Joined: May 07, 2004
Posts: 9
Never mind. I am wrong.

Cheers
- Ken
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accelerators: with and without ctrl key
 
Similar Threads
GUI Question about Strg function
Control-A and Control-C
Error
Rational Rose Diagrams
How to enable CTRL+C to perform action instead of coping to clipboard?