how to use alt+f4?
hello There i've a little problem writing the code meaning pressing alt+f4(F4 While Holding Alt Key)this is how we write alt key if (k.getKeyCode () == KeyEvent.VK_ALT) so how we write alt+f4 ?thank you
If you're trying to override the behavior in windows to close a window, then you can't do that.
But to match alt+F4 you can do// assuming that k is a KeyEvent
if (k.isAltDown() && k.getKeyCode() == KeyEvent.VK_F4) {
// do stuff
}
dwga at 2007-7-12 19:26:24 >
