adspace


How to reload a jframe in java swing?

Answer Posted / Rachna Saxena

You can't directly 'reload' a JFrame, but you can create a new instance of the JFrame and call `setVisible(true)` on it. Alternatively, you can invalidate() and repaint() the existing JFrame to refresh its content.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category