Share this page 

Freeze the JVIEW window in MS VJ++ (this howto is deprecated)Tag(s): DEPRECATED


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...