Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4083
| From | "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: recreating timesharin |
| Message-ID | <48b2c47e$1@news.uni-rostock.de> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <7df04a4a-bf7a-4615-9fb8-6a1664f231c5@d45g2000hsc.googlegroups.com> |
| Date | 2011-04-27 15:48 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui 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 be > the input area. The question is, how to make the program stop and > wait for input when it needs it. > Don't stop, just don't change the state you're in. Just fire an event after the input ocurred and let the main program react on that event. >... > Thanks. > > Tom A. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
recreating timesharing IO "Tom A." <tom.a.@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: recreating timesharin "Stefan Rybacki" <stefan.rybacki@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: recreating timesharin "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: recreating timesharin "Tom A." <tom.a.@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: recreating timesharin "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: recreating timesharin "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: recreating timesharin "Tom A." <tom.a.@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
csiph-web