private void comboYActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_comboYActionPerformed
        JComboBox cb = (JComboBox)evt.getSource();
        int dim = cb.getSelectedIndex();
        streamPanel0.setActiveYDim(dim);
        streamPanel1.setActiveYDim(dim);
        if(visualizer!=null)
            visualizer.redraw();
    }
private void comboYActionPerformed ( java . awt . event . ActionEvent evt ) { JComboBox cb = ( JComboBox ) evt . getSource ( ) ; int dim = cb . getSelectedIndex ( ) ; streamPanel0 . setActiveYDim ( dim ) ; streamPanel1 . setActiveYDim ( dim ) ; if ( visualizer != null ) visualizer . redraw ( ) ; }
GEN-LAST:event_comboXActionPerformed