public void actionPerformed(ActionEvent e) { int OscSyncValue=OscSync.cb.getSelectedIndex(); SysexWidget w; for (int i=0; i<widgetList.size();i++) { w= ((SysexWidget)widgetList.get(i)); if (w.paramModel!=null) { if ( (w instanceof ComboBoxWidget) && (((ComboBoxWidget)w).jlabel.getText().equals("Sync (*)")) ) ((ComboBoxWidget)w).cb.setSelectedIndex(OscSyncValue); } } }
public void actionPerformed(ActionEvent e) { int OscSyncValue=OscSync.cb.getSelectedIndex(); SysexWidget w;  for (int i=0; i<widgetList.size();i++) { w= ((SysexWidget)widgetList.get(i));  if ( (w instanceof ComboBoxWidget) && (((ComboBoxWidget)w).getLabel().equals("Sync (*)")) ) ((ComboBoxWidget)w).cb.setSelectedIndex(OscSyncValue); } }
        public void actionPerformed(ActionEvent e)        {          int OscSyncValue=OscSync.cb.getSelectedIndex();          SysexWidget w;          for (int i=0; i<widgetList.size();i++)          {            w= ((SysexWidget)widgetList.get(i));	    if (w.paramModel!=null)            {              if ( (w instanceof ComboBoxWidget) && (((ComboBoxWidget)w).jlabel.getText().equals("Sync (*)")) ) ((ComboBoxWidget)w).cb.setSelectedIndex(OscSyncValue);            }          }        }