[brailleblaster] Re: Abnormal Termination

  • From: Alex Jurgensen <asquared21@xxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Fri, 26 Nov 2010 18:31:35 -0800

Hi John,

On the Mac, you would normally use "Command" + "Q".

In at least the Linux appplications I have used, the command for closing GUI 
programs is "Alt" + "F4".

I hope this helps.

regards,
Alex,


On 2010-11-26, at 5:24 PM, John J. Boyer wrote:

> I am talking about the Java program as a whole. Alt-f4 terminatges GUI 
> programs on Windows. What is the corresponding keystroke o n the Mac? 
> The subcommands will usually start the GUI in special modes, such as a 
> bare-bones text editor. So if a user hits alt-f4 I suppose the jre will 
> throw an exception. I want to catch that exception and try to terminate 
> gracefully. Can I do it in the main method?
> 
> John
>       
> On Fri, Nov 26, 2010 at 11:27:12AM -0800, Alex Jurgensen wrote:
>> Hi John,
>> 
>> Are we talking on the command-line or from the GUI? The commands you listed 
>> for the Mac nd Linux are the ones used to xit programs on the command-line 
>> before they have completed.
>> 
>> Regards,
>> Alex,
>> 
>> 
>> On 2010-11-26, at 11:09 AM, John J. Boyer wrote:
>> 
>>> What happens of someone gets disgusted with the way things are going and 
>>> hits alt-f4 in Windows or control-c in Mac or Linux? Suppose a fatal 
>>> runtime error occurs? What exceptions will Java throw? Can I catch them 
>>> in the main method and attempt to clean things up before exiting?
>>> 
>>> Thanks,
>>> John
>>> 
>>> -- 
>>> John J. Boyer; President, Chief Software Developer
>>> Abilitiessoft, Inc.
>>> http://www.abilitiessoft.com
>>> Madison, Wisconsin USA
>>> Developing software for people with disabilities
>>> 
>>> 
>> 
>> Alex Jurgensen,
>> VoiceOver Trainer,
>> ASquared21@xxxxxxxxxxxxxxxxx                 
>> 
>> Visit us on the web at: www.vipbc.org
>> 
> 
> -- 
> John J. Boyer, Executive Director
> GodTouches Digital Ministry, Inc.
> http://www.godtouches.org
> Madison, Wisconsin, USA
> Peace, Love, Service
> 
> 

Alex Jurgensen,
VoiceOver Trainer,
ASquared21@xxxxxxxxxxxxxxxxx                    

Visit us on the web at: www.vipbc.org

Other related posts: