addKeyListener(new MooKeyboard());
}
- public void layoutElementMooNoteElement elem, boolean old){
+ public void layoutElement(MooNoteElement elem, boolean old){
// If the element is currently in the view, removes its coordinates from the list.
Rectangle r = new Rectangle();
if (old){
viewLength = y + height;
if(old)setPreferredSize(new Dimension(VIEW_WIDTH, viewLength + extraHeight));
}
-
}
public Track getTrack() {
public void actionPerformed(ActionEvent e) {
Object source = e.getSource();
if (source == popupAdd) {
- addNote(new MooNote());
+ //addNote(new MooNote());
// int channel, int pitch, int velocity, long timestamp, int duration
+ }
}
}
}
\ No newline at end of file