]> ruin.nu Git - moosique.git/commitdiff
*** empty log message ***
authorEinar Pehrson <einarp@itstud.chalmers.se>
Tue, 13 May 2003 15:57:20 +0000 (15:57 +0000)
committerEinar Pehrson <einarp@itstud.chalmers.se>
Tue, 13 May 2003 15:57:20 +0000 (15:57 +0000)
MooNoteElement.java
MooTrackView.java

index c502b4d568cd47e6269e0fb79e0cd3ff1f753ec9..65afa7bc8061552e130eb6bb1af4a63ed15e86a7 100644 (file)
@@ -14,6 +14,7 @@ public class MooNoteElement extends JPanel {
        private MooNote note;
        private int columns;
        private boolean selected;
+       public static final Color bgColor = new Color(160, 218, 255);
 
        /** 
         * Creates a new note element.
@@ -24,6 +25,7 @@ public class MooNoteElement extends JPanel {
                note = mn;
                columns = mn.getDuration() / 24;
                setBorder(BorderFactory.createLineBorder(Color.black));
+               setBackground(bgColor);
        }
 
        /** 
index d33f3c1f1d3191418a390e8d882fafe31cf32405..c44bc24eeb0c5974b428f8eb82cefefd19f6681c 100644 (file)
@@ -58,7 +58,7 @@ public class MooTrackView extends JPanel implements ActionListener {
        public Track getTrack() {
                return track;
        }
-       
+
 
        /** 
         * Updates the track view.