Application automatically terminates
I'm an experienced developer, however I'm new to java development.
At this moment I'm working on a small java application that uses a timer. When I run my application as a Java Application in Eclipse, it will almost immediately terminate. When I call as System.out.println("Hello world!"); in the constructor, this will be executed, so i'm sure my application started running.
Is this expected behavior? Can I prevent this from happening?
Any help would be very much appreciated!