Re: recreating timesharing IO
- From: Stefan Rybacki <noemail@xxxxxxxxxxxxxx>
- Date: Mon, 25 Aug 2008 16:40:59 +0200
Tom A. schrieb:
I was looking through some old pascal line printer listings from
<mumble mumble> decades ago, and thought I'd try to recreate an old
game I wrote in Java. Java, of course, doesn't do WRITELN and READLN
from the terminal, so I created a jframe with a jscrollpane
Of course java can. Try System.in and System.out.
containing a jtextarea for output, and below that a jtextfield to beDon't stop, just don't change the state you're in. Just fire an event after
the input area. The question is, how to make the program stop and
wait for input when it needs it.
the input ocurred and let the main program react on that event.
>...
Thanks..
Tom A.
- References:
- recreating timesharing IO
- From: Tom A.
- recreating timesharing IO
- Prev by Date: recreating timesharing IO
- Next by Date: Re: recreating timesharing IO
- Previous by thread: recreating timesharing IO
- Next by thread: Re: recreating timesharing IO
- Index(es):
Relevant Pages
|