A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How Do I mininmise a Java Frame using the keyboard??
Joined: Aug 13, 2001
Aug 13, 2001 03:59:00
How do I minimise a Java Frame using the keyboard??
i.e. I want to be able to do "Alt space n" but I do not know
how to set a mnemonic to the
Joined: May 06, 2001
Aug 13, 2001 04:57:00
You should overwrite processKeyEvent(
) method where you catch the event that correspond to ALT SPACE then you use setVisible or setState method to minimise your frame.
rocket mass heater
subject: How Do I mininmise a Java Frame using the keyboard??
How to reassign STDIN to a JTextArea??
Pop up box
cin.getline for java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013