X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=MooNoteElement.java;h=c502b4d568cd47e6269e0fb79e0cd3ff1f753ec9;hb=fe67e0acf0d44c09dcfbbfd1a02a91f43d2cf60e;hp=dd31c86b800cc2b7cb1e8a1c077f12bee74f8ad2;hpb=b6312d2dc8b1a096ecb1dfe9e6590d9f7bf14f71;p=moosique.git diff --git a/MooNoteElement.java b/MooNoteElement.java index dd31c86..c502b4d 100644 --- a/MooNoteElement.java +++ b/MooNoteElement.java @@ -20,9 +20,10 @@ public class MooNoteElement extends JPanel { * @param mn the note that will be graphically represented * @param rows the number of rows that the note will occupy */ - public MooNoteElement (MooNote mn, int rows) { + public MooNoteElement (MooNote mn) { note = mn; columns = mn.getDuration() / 24; + setBorder(BorderFactory.createLineBorder(Color.black)); } /**