Published
- 1 min read
how to remove components from a JFRame java
The solution for this is noted below
how to remove components from a JFRame java
Solution
private JFrame frame = new JFrame();
...
...
frame.getContentPane().removeAll();
frame.repaint();
Try other methods by searching on the site. That is if this doesn’t work