float level = ((Number)myVolumeField.getValue()).floatValue();
        public void actionPerformed(ActionEvent ae) {            mySimEnvironmentImpl.setModuleName(myNameField.getText());            float volume = ((Number)myVolumeField.getValue()).floatValue();            float level = ((Number)myVolumeField.getValue()).floatValue();            mySimEnvironmentImpl.setInitialVolumeAtSeaLevel(volume);            myFigEnvironmentNode.setIsSensed(mySensorCheckBox.isSelected());            myFigEnvironmentNode.damage();            dispose();        }