This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes How to avoid system.exit(0) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to avoid system.exit(0)" Watch "How to avoid system.exit(0)" New topic

How to avoid system.exit(0)

Igor Zeta
Ranch Hand

Joined: Nov 12, 2002
Posts: 40
attached with the previous task
about how to launch an ant job from java code,
I'm asking myself why after the execution ends
my swing gui program exit?
Any suggestion on how to avoid ant System.exit()?
Please give me some Chink of light!

ciao<br />Igor Zeta<br />SCJP1.4
Igor Zeta
Ranch Hand

Joined: Nov 12, 2002
Posts: 40
I've found the answer my own!
A good happening in a dark day
I've found the answer on the Sun site
I agree. Here's the link:
subject: How to avoid system.exit(0)
It's not a secret anymore!