For Programmers: Free Programming Magazines  


Home > Archive > Java Help > March 2004 > Alt + F4









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Alt + F4
Goran

2004-03-27, 12:30 am

Does anyone know
how can I close internal frame with Alt+F4 command (windows closing)

--
To reply please remove NOSPAM

Christophe Vanfleteren

2004-03-27, 12:30 am

Goran wrote:

> Does anyone know
> how can I close internal frame with Alt+F4 command (windows closing)
>


You should probable use Ctrl-F4 for closing internal frames.

On most desktop environments, Alt-F4 is reserved and is used to close the
application itself.
Your users would get when they type Alt-F4 and the application
doesn't close.

--
Kind regards,
Christophe Vanfleteren
Steve W. Jackson

2004-03-27, 12:30 am

In article <GHW8c.50449$Yz4.3501164@phobos.telenet-ops.be>,
Christophe Vanfleteren <c.v4nfl3t3r3n@pandora.be> wrote:

>:Goran wrote:
>:
>:> Does anyone know
>:> how can I close internal frame with Alt+F4 command (windows closing)
>:>
>:
>:You should probable use Ctrl-F4 for closing internal frames.
>:
>:On most desktop environments, Alt-F4 is reserved and is used to close the
>:application itself.
>:Your users would get when they type Alt-F4 and the application
>:doesn't close.


Actually, it's not reserved for the application. It will be supported
by any JFrame, in general. So if your app has multiples, it doesn't
necessarily mean closing the app, just that JFrame.

In Windows, clicking the icon (if present) in a JInternalFrame doesn't
show any keyboard equivalents at all, whereas a JFrame shows that
"Close" can use this keystroke. In the Metal L&F on my Solaris
environment, there's not even a response to clicking there, so I have to
use the decorations or other means.

= Steve =
--
Steve W. Jackson
Montgomery, Alabama
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com