I have some jpanel in my project. it is called once in the beginning and does not call after it due to which content on those jpanel does not update.
Asked
Active
Viewed 60 times
0
-
Please explain more why you need to update the panel. – pavithraCS Mar 20 '18 at 06:24
1 Answers
0
You can use following methods when you need to update it.
panel.revalidate();
panel.repaint();

pavithraCS
- 709
- 6
- 23