public static UIInitial recreateUI() { uiinitial.dispose(); uiinitial = new UIInitial(); uiinitial.setVisible(true); return uiinitial; }
public static void main(String[] args) throws IOException { // TODO code application logic here uiinitial = new UIInitial(); uiinitial.setVisible(true); }