import java.awt.*;
import java.awt.event.*;
-/*
+/**
* Moosique's graphical user interface.
*
* @author Mikael Andreen
Sequence seq;
- /*
+ /**
* Creates the GUI.
*/
public MooGUI(Sequence seq) {
m.addKeyListener(new MooKeyboard());
pack();
Dimension bounds = new Dimension(300,70);
+ setJMenuBar(new MooMenu());
// setSize(bounds.width,bounds.height);
setLocation((Toolkit.getDefaultToolkit().getScreenSize().width / 2) - (bounds.width / 2), (Toolkit.getDefaultToolkit().getScreenSize().height / 2) - (bounds.height / 2));
// setResizable(false);
setVisible(true);
}
- /*
+ /**
* Changes the sequence of the GUI.
* @param sequence the MIDI sequence to visualize
*/
public void windowDeiconified(WindowEvent e) {}
public void windowActivated(WindowEvent e) {}
public void windowDeactivated(WindowEvent e) {}
-}
\ No newline at end of file
+}