addItem(music, "Delete track...", KeyEvent.VK_D, ActionEvent.CTRL_MASK);
addItem(music, "Copy track...", KeyEvent.VK_Y, ActionEvent.CTRL_MASK);
addItem(music, "Move track...", KeyEvent.VK_M, ActionEvent.CTRL_MASK);
- edit.addSeparator();
+ music.addSeparator();
addItem(music, "Insert measure...");
addItem(music, "Delete measure...");
- edit.addSeparator();
+ music.addSeparator();
addItem(music, "Set time signature...");
addItem(music, "Set tempo...");
addItem(music, "Scale velocity...");
seq.deleteTrack(seq.getTracks()[NUMBER]);
*/
} else if (command == "Copy track...") {
-
MooDialog what = new MooDialog(MooDialog.COPY_TRACK);
-
} else if (command == "Move track...") {
-
MooDialog what = new MooDialog(MooDialog.MOVE_TRACK);
-
} else if (command == "Insert measure...") {
} else if (command == "Delete measure...") {
} else if (command == "Transpose...") {
} else if (command == "Contents") {
-
- JOptionPane.showMessageDialog(this, "här kommer contents komma");
-
+ MooDialog contents = new MooDialog(MooDialog.CONTENTS);
} else if (command == "Getting started") {
JOptionPane.showMessageDialog(null, "här kommer getting started komma");