while(findComponentAt(x, y) instanceof MooNoteElement ||
findComponentAt(x, y + height - 1) instanceof MooNoteElement) x += NOTE_WIDTH;
elem.setBounds(x, y, NOTE_WIDTH, height);
while(findComponentAt(x, y) instanceof MooNoteElement ||
findComponentAt(x, y + height - 1) instanceof MooNoteElement) x += NOTE_WIDTH;
elem.setBounds(x, y, NOTE_WIDTH, height);