myLogger = Logger.getLogger(FlowratePropertiesFrame.class);
    public FlowratePropertiesFrame(FigModuleEdge pEdge, SingleFlowRateControllable pOpertations) {        myIndex = ((ModuleEdge)pEdge.getOwner()).getIndex();        myLogger = Logger.getLogger(FlowratePropertiesFrame.class);        myModuleFigEdge = pEdge;        myOperations = pOpertations;        myMaxField = new JFormattedTextField(NumberFormat.getNumberInstance());        myMaxField.setValue(new Float(myOperations.getMaxFlowRate(myIndex)));        myDesiredField = new JFormattedTextField(NumberFormat.getNumberInstance());        myDesiredField.setValue(new Float(myOperations.getDesiredFlowRate(myIndex)));                mySensorCheckBox = new JCheckBox();        myActuatorCheckBox = new JCheckBox();                myOKButton = new JButton(new OKAction());        setLayout(new GridLayout(5, 2));        add(new JLabel("Maximum"));        add(myMaxField);        add(new JLabel("Desired"));        add(myDesiredField);        add(new JLabel("Sensed"));        add(mySensorCheckBox);        add(new JLabel("Actuated"));        add(myActuatorCheckBox);        add(myOKButton);        ModuleEdge theEdge = (ModuleEdge)myModuleFigEdge.getOwner();        setTitle(theEdge.getName() + " Properties");    }