View Single Post
  #7 (permalink)  
Old 04-21-2008, 01:03 PM
Java Tip's Avatar
Java Tip Java Tip is offline
Moderator
 
Join Date: Nov 2007
Posts: 1,691
Rep Power: 5
Java Tip will become famous soon enoughJava Tip will become famous soon enough
Default
Exe should have the same behavior of Jar. So if you make your jar to run continuously, exe should do the same. If it is a swing application, if you did not exit from it explicitly, it should run continuously. If it is a console application, the most basic way is to embed your main code inside a loop in which you only exit from this loop when a specific condition is met.
__________________
"The sole cause of man’s unhappiness is that he does not know how to stay quietly in his room." - Blaise Pascal
Reply With Quote