×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Yts 95
Added: Feb 27, 2021 5:33 AM
Modified: Feb 27, 2021 5:33 AM
Views: 4761
Tags: no tags
  1.         main_panel.removeAll();
  2.         main_panel.repaint();
  3.         main_panel.revalidate();
  4.         main_panel.add(uni_panel);
  5.         main_panel.repaint();
  6.         main_panel.revalidate();