]> ruin.nu Git - moosique.git/blobdiff - MooGUI.java
Added comment for prospective addition
[moosique.git] / MooGUI.java
index b7233d82fbc341042499449823573d0cba47bed0..63250d3124b764c427defaa604f9b551b0a2c6f4 100644 (file)
@@ -20,7 +20,7 @@ public class MooGUI extends JFrame implements WindowListener {
         */
        public MooGUI(Sequence seq) {
                super("Moosique");
-
+               
                // Adds menu bar.
                setJMenuBar(new MooMenu());
 
@@ -28,22 +28,27 @@ public class MooGUI extends JFrame implements WindowListener {
                getContentPane().add(new MooToolbar(), BorderLayout.NORTH);
                addWindowListener(this);
                
+               // Adds one track.
+               getContentPane().add(new MooTrackView(), BorderLayout.CENTER);
+               addWindowListener(this);
+               
                // Adds main view.
                // view = new MooView();
 
                // Adds status bar.
-               statusBar = new JLabel("Welcome to Moosique!", Label.CENTER);
+               //statusBar = new JLabel("Welcome to Moosique!", Label.CENTER);
 
-               MooInstrumentList m = new MooInstrumentList();
-               getContentPane().add(m, BorderLayout.CENTER);
-               m.addKeyListener(new MooKeyboard());
-               pack();
+               //MooInstrumentList m = new MooInstrumentList();
+               //getContentPane().add(m, BorderLayout.CENTER);
+               //m.addKeyListener(new MooKeyboard());
+               //pack();
 
                // Dimension bounds = new Dimension(300,70);
                // setSize(bounds.width,bounds.height);
                // setLocation((Toolkit.getDefaultToolkit().getScreenSize().width / 2) - (bounds.width / 2), (Toolkit.getDefaultToolkit().getScreenSize().height / 2) - (bounds.height / 2));
                // setResizable(false);
                // setBackground(Color.white);
+               pack();
                setVisible(true);
        }