faderController[currentFader]=cbController.getSelectedIndex (); faderChannel[currentFader]=cbChannel.getSelectedIndex (); cbController.setSelectedIndex (faderController[lb1.getSelectedIndex ()]); cbChannel.setSelectedIndex (faderChannel[lb1.getSelectedIndex ()]);
appConfig.setFaderController(currentFader, cbController.getSelectedIndex()); appConfig.setFaderChannel(currentFader, cbChannel.getSelectedIndex()); cbController.setSelectedIndex (appConfig.getFaderController(lb1.getSelectedIndex())); cbChannel.setSelectedIndex (appConfig.getFaderChannel(lb1.getSelectedIndex()));
          public void valueChanged (ListSelectionEvent e)          {              faderController[currentFader]=cbController.getSelectedIndex ();              faderChannel[currentFader]=cbChannel.getSelectedIndex ();              cbController.setSelectedIndex (faderController[lb1.getSelectedIndex ()]);              cbChannel.setSelectedIndex (faderChannel[lb1.getSelectedIndex ()]);              currentFader=lb1.getSelectedIndex ();          }