Dialog wizard flickers

T

timasmith

Hi,

I have a couple of JDialogs which represent my wizard. I use the
follow code to go from the first screen to the second screen.

screen1JDialog.setVisible(false);
screen2JDialog.setVisible(true);

Despite swapping the order I get this horrendous flicker and pause why
it lays out the form.

Perhaps the latter is my responsibility - but is there any way to
prepare the second form and have a nice smooth transition?

thanks

Tim
 
T

Thomas Hawtin

I have a couple of JDialogs which represent my wizard. I use the
follow code to go from the first screen to the second screen.

screen1JDialog.setVisible(false);
screen2JDialog.setVisible(true);

Despite swapping the order I get this horrendous flicker and pause why
it lays out the form.

Why not use just the one JDialog? witch the contents with
javax.swing.OverlayLayout or similar.

Tom Hawtin
 

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

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,233
Latest member
AlyssaCrai

Latest Threads

Top