X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooNoteElement.java;h=65afa7bc8061552e130eb6bb1af4a63ed15e86a7;hp=c502b4d568cd47e6269e0fb79e0cd3ff1f753ec9;hb=5aa1ca5bdce5b109be8e616b6575b91212192ebd;hpb=fb491f02df0fa9cf8e7fb8511885e51e5660a21d 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); } /**