From 5aa1ca5bdce5b109be8e616b6575b91212192ebd Mon Sep 17 00:00:00 2001 From: Einar Pehrson Date: Tue, 13 May 2003 15:57:20 +0000 Subject: [PATCH] *** empty log message *** --- MooNoteElement.java | 2 ++ MooTrackView.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MooNoteElement.java b/MooNoteElement.java index c502b4d..65afa7b 100644 --- a/MooNoteElement.java +++ b/MooNoteElement.java @@ -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); } /** diff --git a/MooTrackView.java b/MooTrackView.java index d33f3c1..c44bc24 100644 --- a/MooTrackView.java +++ b/MooTrackView.java @@ -58,7 +58,7 @@ public class MooTrackView extends JPanel implements ActionListener { public Track getTrack() { return track; } - + /** * Updates the track view. -- 2.39.2