| | |
how to do a basic system pause
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 8
Hi Everyone,
Please explain in detail, pause a thread or pause while waiting for input from user??
Richard West
Please explain in detail, pause a thread or pause while waiting for input from user??
Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
If you need something like that your architecture is wrong 
Commandline programs are executed from a shell, so the output remains visible if the user wants it. If not he'll likely have it redirected to a file and why should you force him to look at something he doesn't want to see?

Commandline programs are executed from a shell, so the output remains visible if the user wants it. If not he'll likely have it redirected to a file and why should you force him to look at something he doesn't want to see?
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 8
Hi everyone,
Here is a link with some code
http://www.rgagnon.com/javadetails/java-0145.html
do not forget to run your method in a separate thread other from the main thread
Here is another link to pause and resume the console printing of huge data
http://forum.java.sun.com/thread.jsp...sageID=2372877
I hope this helps you
Yours Sincerely
Richard West
Here is a link with some code
http://www.rgagnon.com/javadetails/java-0145.html
do not forget to run your method in a separate thread other from the main thread
Here is another link to pause and resume the console printing of huge data
http://forum.java.sun.com/thread.jsp...sageID=2372877
I hope this helps you
Yours Sincerely
Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
![]() |
Similar Threads
- system( "PAUSE" );!!!! (C++)
- system("pause"); (C++)
- system("PAUSE") (C++)
Other Threads in the Java Forum
- Previous Thread: can I invoke dos commands thru Java?
- Next Thread: Invoke Java library from C/C++
Views: 25517 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for Java
android api apple applet application apps arguments array arrays automation awt binary bluetooth businessintelligence busy_handler(null) card chat class classes client code collision component constructor database draw eclipse error event eventlistener exception file fractal game givemetehcodez graphics gui helpwithhomework html ide image input integer j2me jar java javafx javamicroeditionuseofmotionsensor javaprojects jmf jni jpanel jtree julia link linux list loop machine map method methods mobile netbeans newbie nls number object oracle parsing plazmic print problem program programming project recursion scanner screen server set sharepoint size smart sms socket sort sortedmaps sql string swing test textfield threads time transfer tree unlimited webservices windows






