cb1.setSelectedIndex (initPortOut); cb2.setSelectedIndex (initPortIn); cb3.setSelectedIndex (masterController); cb4.setSelectedIndex (faderPort); cb5.setSelectedIndex (lookAndFeel);
    public void setPortCombos (JPanel panel)    {        try        {            cb1.removeAllItems ();            for (int j=0; j< PatchEdit.MidiOut.getNumOutputDevices ();j++)                cb1.addItem (j+": "+PatchEdit.MidiOut.getOutputDeviceName (j));            cb2.removeAllItems ();            for (int j=0; j< PatchEdit.MidiIn.getNumInputDevices ();j++)                cb2.addItem (j+": "+PatchEdit.MidiIn.getInputDeviceName (j));            cb3.removeAllItems ();            for (int j=0; j< PatchEdit.MidiIn.getNumInputDevices ();j++)                cb3.addItem (j+": "+PatchEdit.MidiOut.getInputDeviceName (j));        } catch (Exception e)        {ErrorMsg.reportStatus (e);}            }