The Artima Developer Community
Sponsored Link

Java Answers Forum
Java AWT

1 reply on 1 page. Most recent reply: Apr 29, 2002 12:05 AM by Thomas SMETS

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Ramachandra

Posts: 1
Nickname: rama
Registered: Apr, 2002

Java AWT Posted: Apr 28, 2002 11:21 PM
Reply to this message Reply
Advertisement
I have a simple application using frames and I am using a 3rd party tool in which the appliction has to be opened. Starting the application in the tool is not a problem. But when I am trying to close using "System.exit(0)" only the application which i have developed the whole tool as such closes down.I have tried using "dispose()" but in this case the application which I developed just hides but the system resources are not released and the tool as such doesn't close down.I hope I have explained my problem properly.Please advise me.


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: Java AWT Posted: Apr 29, 2002 12:05 AM
Reply to this message Reply
May be the Tool starts a new VM ?
Hence when you
System.exit(EXIT_CODE);
, you only stop the new process while the initial VM still keeps running...

What OS are you on ?
Check the Task manager or use "ps" / "top" ?

Thomas SMETS,
SCJP- Brussels,

Flat View: This topic has 1 reply on 1 page
Topic: How is this executed? Previous Topic   Next Topic Topic: JTable mouse selection

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use