]> ruin.nu Git - moosique.git/blobdiff - MooTrackTitle.java
FIXED THE MULTICOLUMN BUG!!!
[moosique.git] / MooTrackTitle.java
index 0c043372f2e836806036a20f2d85593593bcf705..26c9f32d025300d69b4b09864350ad74758b02f9 100644 (file)
@@ -22,8 +22,11 @@ public class MooTrackTitle extends JPanel {
         */
        public MooTrackTitle (Track track) {
                setLayout(new GridLayout(4,1));
+               setBorder(BorderFactory.createLineBorder(Color.black));
 
+               setPreferredSize(new Dimension(202,70));
                title = new JTextField(); // JTextField(String text, int columns) 
+               title.setFont(Moosique.getGUI().FONT);
                title.addFocusListener(new TitleFocusListener());
                add(title);
 
@@ -34,7 +37,7 @@ public class MooTrackTitle extends JPanel {
                checkboxes.setLayout(new GridLayout(1,3));
 
                channel = new JComboBox();
-               channel.setFont(new Font("Helvetica", Font.PLAIN, 10));
+               channel.setFont(Moosique.getGUI().FONT);
                for (int i = 1; i <= 16; i++)
                        channel.addItem(new Integer(i));
                channel.addItemListener(new ItemListener(){
@@ -48,7 +51,7 @@ public class MooTrackTitle extends JPanel {
                
 
                mute = new JCheckBox("Mute");
-               mute.setFont(new Font("Helvetica", Font.PLAIN, 10));
+               mute.setFont(Moosique.getGUI().FONT);
                mute.addActionListener(new ActionListener(){
                                public void actionPerformed(ActionEvent event){
                                        //setMute
@@ -57,7 +60,7 @@ public class MooTrackTitle extends JPanel {
                checkboxes.add(mute);
 
                solo = new JCheckBox("Solo");
-               solo.setFont(new Font("Helvetica", Font.PLAIN, 10));
+               solo.setFont(Moosique.getGUI().FONT);
                solo.addActionListener(new ActionListener(){
                                public void actionPerformed(ActionEvent event){
                                        //setSolo
@@ -72,4 +75,4 @@ public class MooTrackTitle extends JPanel {
                        // Update the MidiEvent containing the title of this track
                }
        }
-}
\ No newline at end of file
+}