Hi. I was wondering if there's any method to remove everything from a JPanel without knowing specifically what's in that JPanel. If not, is there a way to detect what's inside that JPanel?
Potentially helpful information:
-I'm using a GridLayout for those JPanels.
-I can freely switch to any LayoutManager for those JPanels
Potentially helpful information:
-I'm using a GridLayout for those JPanels.
-I can freely switch to any LayoutManager for those JPanels