Forums Register Login

Refresh a frame

+Pie Number of slices to send: Send
I am trying to use a checkbox that once it is selected, that it will add a component to the frame do I need to use paint and repaint/update or is there another way??
Thank you
Jesse
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
Call revalidate() on the JPanel after you have added the new component.
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts 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 13386 times.
Similar Threads
applet in frame
extends Frame help
frame properties
Size of JScrollPane in a JPanel
Not able to capture Logout
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 22:33:51.