public void InitializeDisplayValues() // this function will be called when the panel is first shown { JLabel4.setText(String.valueOf(nodeInfo.GetNodeNumber())); JLabel6.setText(String.valueOf(nodeInfo.GetValue())); }
public void ApplyChanges() // this function will be called when the apply button is hit { nodeInfo.SetNodeNumber(Integer.getInteger(JLabel4.getText())); }