*/
public MooGUI(Sequence seq) {
super("Moosique");
+ addWindowListener(this);
MooInstrumentList m = new MooInstrumentList();
getContentPane().add(m);
m.addKeyListener(new MooKeyboard());
seq = sequence;
}
- public void windowOpened(WindowEvent e) {}
- public void windowClosing(WindowEvent e) {}
- public void windowClosed(WindowEvent e) {Moosique.quit();}
+ public void windowOpened(WindowEvent e) {}
+ public void windowClosing(WindowEvent e) {Moosique.quit();}
+ public void windowClosed(WindowEvent e) {}
public void windowIconified(WindowEvent e) {}
public void windowDeiconified(WindowEvent e) {}
public void windowActivated(WindowEvent e) {}