particleMesh.getParticleController().setControlFlow(rateBox.isSelected()); updateRateLabels();
applyExample();
            public void actionPerformed(ActionEvent e) {                particleMesh.getParticleController().setControlFlow(rateBox.isSelected());                updateRateLabels();            }