snehapshi...@gmail.com wrote:
>> I created a class extending JFrame
>> I created a frame containing several components
[quoted text clipped - 4 lines]
>> But I want them to be displayed during the timers time span.
>> Please Help!
Do not run the timer on the Event Dispatch Thread (EDT).
Study Swing concurrency, hard, starting here:
<http://java.sun.com/docs/books/tutorial/uiswing/concurrency/index.html>
I hypothesize, absent sufficient information from you, that your starting
thread is waiting for the timer, and that you start it from a GUI event
handler, thus awaiting the timer in the EDT. Nothing else can happen in the
GUI until each action completes, in this case the wait for the time to expire.
You have to start the timer in a separate, worker thread, and have the
worker thread update the GUI upon completion through invokeLater().
Of course, no one can help you with confidence until you actually tell us what
the problem is. You have described the overall picture, but given us no hard
data until you provide an example - a simple, self-contained compilable
example of source that evinces your problem.
<http://mindprod.com/jgloss/sscce.html>
Without that we're just pissing in the dark.

Signature
Lew
Alex.From.Ohio.Java@gmail.com - 19 Mar 2008 17:50 GMT
> snehapshi...@gmail.com wrote:
> >> I created a class extending JFrame
[quoted text clipped - 28 lines]
> --
> Lew
Lew:
GUI is running in another thread. That's how it's built.
You can see it with JConsole.
Or simply show current thread from any GUI event.
Alex.
http://www.myjavaserver.com/~alexfromohio/
Lew - 20 Mar 2008 01:32 GMT
>> snehapshi...@gmail.com wrote:
>>>> I created a class extending JFrame
[quoted text clipped - 32 lines]
> You can see it with JConsole.
> Or simply show current thread from any GUI event.
I have no idea what you said.
Meanwhile,
<http://mindprod.com/jgloss/sscce.html>
<http://mindprod.com/jgloss/sscce.html>
<http://mindprod.com/jgloss/sscce.html>

Signature
Lew
Knute Johnson - 20 Mar 2008 04:44 GMT
>>> snehapshi...@gmail.com wrote:
>>>>> I created a class extending JFrame
[quoted text clipped - 41 lines]
> <http://mindprod.com/jgloss/sscce.html>
> <http://mindprod.com/jgloss/sscce.html>
Subtle, I like that.

Signature
Knute Johnson
email s/nospam/linux/
snehapshinde@gmail.com - 20 Mar 2008 07:18 GMT
On Mar 19, 9:50 pm, Alex.From.Ohio.J...@gmail.com wrote:
> > snehapshi...@gmail.com wrote:
> > >> I created a class extending JFrame
[quoted text clipped - 37 lines]
>
> - Show quoted text -
Thanks for the help!
snehapshinde@gmail.com - 20 Mar 2008 07:18 GMT
> snehapshi...@gmail.com wrote:
> >> I created a class extending JFrame
[quoted text clipped - 28 lines]
> --
> Lew
Thanks for the help
I have created a separate threads for GUI and timer and it is working
fine...