Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 is there a way to close the output screen?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Slnj




PostPosted: Wed Oct 20, 2010 5:35 pm   Post subject: is there a way to close the output screen?

i'm using Ready to Program Java and i was wondering if theres a way to close the out put screen for example a person gets a question wrong it just automatically closes the screen so the person would have to run the program again.
Sponsor
Sponsor
Sponsor
sponsor
TerranceN




PostPosted: Wed Oct 20, 2010 9:14 pm   Post subject: RE:is there a way to close the output screen?

For specifically closing the output window (in case you wanted to do something else after it closes), it would depend on the output window, but if you just want the program to end you can use
Java:

System.exit(0);
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: