192021222324252627
switch(index) { case 0: new LoginWindow().setVisible(true); break; case 1: new DailyPad().setVisible(true); break; } }