int i = System.in.read();
Dave Tolls wrote:. . . "press <Enter> for more" or something? . . .
Campbell Ritchie wrote:I presume CUI means console user interface?
Knute Snortum wrote:The problem with trying to execute "more" in a command window is that you are probably running "javaw" which doesn't create a command window. What about reading the output and putting it into a GUI widget with a scrollbar? Or creating a temporary file and launching Notepad? I assume you have this much already:
Why not post the code you have? That will make it easier to make suggestions.
Reading the output and inputting it into a GUI widget will yield a different result from what I'm trying to accomplish.
What I'm trying to accomplish is the copy of the "more" funcitonality.
so if I don't want to spend a day refactoring the program...