Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19446

Re: Text delay

Received by 10.66.77.131 with SMTP id s3mr933350paw.24.1350695918142; Fri, 19 Oct 2012 18:18:38 -0700 (PDT)
Received by 10.68.216.132 with SMTP id oq4mr1071877pbc.8.1350695918126; Fri, 19 Oct 2012 18:18:38 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!newsfeed.news.ucla.edu!usenet.stanford.edu!kr7no5357458pbb.0!news-out.google.com!s9ni21683pbb.0!nntp.google.com!kt20no5115896pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Fri, 19 Oct 2012 18:18:37 -0700 (PDT)
In-Reply-To <da6bc319-9343-4794-94b8-09e056052e3e@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
NNTP-Posting-Host 69.28.149.29
References <4e43e1e2-4f9c-479f-b5a6-ab66cdbf5d53@googlegroups.com> <k5s3rc$o73$1@dont-email.me> <da6bc319-9343-4794-94b8-09e056052e3e@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <8208b4da-b4ca-4f6b-8593-04a63d9e598d@googlegroups.com> (permalink)
Subject Re: Text delay
From Lew <lewbloch@gmail.com>
Injection-Date Sat, 20 Oct 2012 01:18:38 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:19446

Show key headers only | View raw


bob smith wrote:
>Eric Sosman wrote:
>> 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.
>
> I think he wants to do what's called a Toast.
> 
> http://en.wikipedia.org/wiki/Toast_(computing)

Maybe, but he insisted that he's talking about lines of text, so probably not.

It's not clear, and given that he already asked this question and got advice, and 
opened up a new thread and provided no further clarification or elaboration, 
one wonders if it's even worth the bother to address the question.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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