+ public synchronized void update(long tickPosition){
+ if (updateView) view.update(tickPosition);
+ toolbar.updateProgInd(tickPosition);
+ }
+
+ public MooView getView() {
+ return view;
+ }
+
+ /**
+ * Creates an action for a specific octave.
+ * @param increase true for increase, false for decrease
+ */
+ private Action createOctaveAction(final boolean increase) {
+ Action octaveAction = new AbstractAction() {
+ public void actionPerformed(ActionEvent ae) {
+ MooKeyboard.setRelativeOctave(increase);
+ }};
+ return octaveAction;
+ }
+
+ /**
+ * Advances the current progress counter by printing a "." to the System output.
+ */
+ private void advanceStatus() {
+ System.out.print(".");