- public MooInstrumentList() {
- super(instruments);
- setFont(new Font("Helvetica", Font.PLAIN, 10));
+ protected int channel;
+ public static final int INSTRUMENTS = 0, DRUMS = 1;
+
+ /**
+ * Creates the instrument list.
+ * @param chan The channel it will operate on.
+ */
+ public MooInstrumentList(int chan, int listType) {
+ super(instruments[listType]);
+ setChannel(chan);
+ setFont(Moosique.getGUI().FONT);