Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19442
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Text delay |
| Date | 2012-10-19 13:49 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <k5s3rc$o73$1@dont-email.me> (permalink) |
| References | <4e43e1e2-4f9c-479f-b5a6-ab66cdbf5d53@googlegroups.com> |
On 10/19/2012 1:15 PM, K wrote:
> Does anyone know how to make certain text in a java application delay and display after the previous text
System.out.println("the previous text");
try {
Thread.sleep(desired_delay_in_milliseconds);
} catch (InterruptedException ex) {
System.out.println("This may be premature, but:");
}
System.out.println("certain text");
In other words, you'll get no better answer today than you did
three days ago unless you explain your situation more clearly.
--
Eric Sosman
esosman@comcast-dot-net.invalid
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Text delay K <kalezwe@gmail.com> - 2012-10-19 10:15 -0700
Re: Text delay Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-19 13:49 -0400
Re: Text delay bob smith <bob@coolfone.comze.com> - 2012-10-19 14:56 -0700
Re: Text delay Lew <lewbloch@gmail.com> - 2012-10-19 18:18 -0700
Re: Text delay Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-10-19 22:58 +0200
Re: Text delay Rajiv Gupta <rajiv@invalid.com> - 2012-10-20 14:49 +1100
Re: Text delay Roedy Green <see_website@mindprod.com.invalid> - 2012-10-20 19:37 -0700
csiph-web