private MooNote note;
private int columns;
private boolean selected;
+ public static final Color bgColor = new Color(160, 218, 255);
/**
* Creates a new note element.
* @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));
+ setBackground(bgColor);
}
/**