Freeze the JVIEW window in MS VJ++Tag(s): Environment

In your source, add the following line at the end :
java.io.DataInputStream in = 
      new java.io.DataInputStream(System.in);
String aLine = in.readLine();
and the JVIEW window won't close until you hit ENTER.
Or simply execute JVIEW directly in a DOS window with
jview <classname>
Check this How-to for a better way...


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]