We have a JPanel that's populated from a database that consists numerous JLabels and JButtons. Is there a way to refresh or clear the JPanel to except new results from click on a JButton from another class?
Basically is there a way to refresh the JPanel?? We've tried using
and we couldn't get it to work. Can anyone help us?