public MooTrackView (Track track) {
+ super(true);
this.track = track;
//setPreferredSize(new Dimension(200, 9000));
setLayout(new BorderLayout());
/**
* Updates the track view.
*/
- public void update() {
+ public void update(long tickPosition) {
repaint();
}
public NoteArea(Track track) {
// Configuring panel
+ super(true);
setLayout(null);
trackLength = 140;
setPreferredSize(new Dimension(200, 140 * NOTE_HEIGHT));
}
}
}
-}
\ No newline at end of file
+}