Forums Register Login

Don't want to show the panel building

+Pie Number of slices to send: Send
Hi guys,

I've noticed that sometimes when you create a JPanel and fill it with components, it is shown to the end user.

What I mean is. Even though the operation happens very quickly, you can still see the system constructing the panel.

Is there a way to stop this from happening? Am I doing something in the wrong order?

Any help is much appreciated.

Cheers,

Steve
+Pie Number of slices to send: Send
ensure setVisible() is coded after the panel is constructed
Self destruct mode activated. Instructions for deactivation encoded in this tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 712 times.
Similar Threads
quick question about Frame
repaint problem
Client view object
about add component to panel
Hide and unhide panel
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:30:42.