]> ruin.nu Git - moosique.git/blobdiff - MooInstrumentList.java
Updated the project report,
[moosique.git] / MooInstrumentList.java
index ed976dd4434d952c614a113bc77030980b2d6855..1b3378240502d654ca1b3dba95f42b7c189ccea1 100644 (file)
@@ -12,6 +12,7 @@ import java.awt.event.*;
 public class MooInstrumentList extends JComboBox implements ActionListener {
 
        protected int channel;
+       
        public MooInstrumentList(int chan) {
                super(instruments);
                setChannel(chan);       
@@ -19,7 +20,7 @@ public class MooInstrumentList extends JComboBox implements ActionListener {
                addActionListener(this);
        }
 
-       public void setChannel(int chan){
+       public void setChannel(int chan) {
                channel = chan;
                setSelectedIndex(Moosique.getChannel(channel).getProgram());
        }