X-Git-Url: https://ruin.nu/git/index.pl?a=blobdiff_plain;f=MooMenu.java;h=d30d181d20541aae81695a48401d2b2d9232bfa0;hb=f13c7fbb2a8cc841367e0a4563596592b89cd33b;hp=0401547ceb89167327532253b5ec74accb9ee30e;hpb=fa159bea01bba1b1294fcc5ed14546b7510dcd3d;p=moosique.git diff --git a/MooMenu.java b/MooMenu.java index 0401547..d30d181 100644 --- a/MooMenu.java +++ b/MooMenu.java @@ -15,6 +15,7 @@ public class MooMenu extends JMenuBar implements ActionListener { private JMenu file, edit, keyboard, playback, music, help; private JFileChooser chooser; private File directory; + private String[] openedFiles; /** * Creates the menu bar. @@ -203,9 +204,7 @@ public class MooMenu extends JMenuBar implements ActionListener { MooDialog newDialog = new MooDialog(MooDialog.ADD_TRACK); Moosique.getSequence().createTrack(); } else if (command == "Delete track...") { - MooDialog newDialog = new MooDialog(MooDialog.DELETE_TRACK); - /* Let the user select a track from a list. seq = Moosique.getSequence(); seq.deleteTrack(seq.getTracks()[NUMBER]); @@ -224,6 +223,7 @@ public class MooMenu extends JMenuBar implements ActionListener { MooDialog newDialog = new MooDialog(MooDialog.SET_TEMPO); } else if (command == "Scale velocity...") { + MooDialog newDialog = new MooDialog(MooDialog.SCALE_VELOCITY); } else if (command == "Transpose...") { MooDialog newDialog = new MooDialog(MooDialog.TRANSPOSE);