192021222324252627
switch(index) { case 0: new LoginWindow().setVisible(true); break; case 1: new DailyPad().setVisible(true); break; } }
1617181920212223242526
@Override public void execute(int index) { switch(index) { case 0: new LoginWindow().setVisible(true); break; case 1: new DailyPad().setVisible(true); break; }