I don't think you can set scrollbars in Win98 but you can send the output to a text file instead, and read that in Notepad. Create your own PrintStream: > PrintStream yourPrintstream = new Printstream(new FileOutputStream("yourFile.txt")) and and point System.out to it: > System.setOut(yourPrintStream) Then all your System.out.println() calls will be directed there. Or could set System.err the same way and call System.err.println() for your error displays.
Thanks a lot for the help. There are many potential run-time error-generating codes in different files inside the project. Is it possible to set the System.err to the text file just once instead of doing it everytime when an error might happen?
Do it in your start up class (the one with the main method) before you initiate everyting else. Use both System.setOut() and System.setErr() to be sure to write everything to the text file. /Andreas
1. Create a short cut for your ms-dos prompt on your desktop. 2. Right click on the ms-dos icon. 3. Select properties. 4. Click the layout tab. 5. Set the screen buffer size height to 500 6. Click OK You should now have a ms-dos prompt with scroll bars and a buffer size of 500.
It wasn't my idea to go to some crazy nightclub in the middle of nowhere. I just wanted to stay home and cuddle with this tiny ad:
a bit of art, as a gift, the permaculture playing cards