SWT splashscreen

J

johnjohn

Hi,

I'm trying to do a splashscreen with SWT. I read a lot of examples but
they are using swing...

I don't have a problem to make appearing my window but I don't know
how to proceed for closing it after a given time.

There is no SWTTimer as with swing and if I use a display.asyncExec,
it work fine but after I get a error in relation with the thread.

Thanks.

JohnJohn
 
A

Andrew Thompson

I'm trying to do a splashscreen with SWT. I read a lot of examples but
they are using swing...

Maybe it's your search string, try this one..
I don't have a problem to make appearing my window but I don't know
how to proceed for closing it after a given time.

I wrote an AWT based splashscreen the
other day and had no problem with it.

My approach was
1) get the time
2) start a trhead
3) in run, check the time and destroy when appropriate.

Easy peasy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,197
Latest member
Sean29G025

Latest Threads

Top