+ /**
+ * Shows the given message in the status bar.
+ * @param text the message to show
+ */
+ public boolean drawEmptyTracks() {
+ return drawEmptyTracks;
+ }
+
+ /**
+ * Shows the given message in the status bar.
+ * @param text the message to show
+ */
+ public void setDrawEmptyTracks(boolean state) {
+ drawEmptyTracks = state;
+ }
+
+ private Action createOctaveAction(final int octave) {
+ Action octaveAction = new AbstractAction() {
+ public void actionPerformed(ActionEvent ae) {
+ MooKeyboard.setOctave(octave);
+ }};
+ return octaveAction;
+ }
+