I have a jTextField , and I set it\'s value to a certain sum when I create the frame.
Here is the initiation code:
totalTextField.setText(
itemsP
Before setting the frame visible again, one should update the fields with the new values / states.
something like:
jTextField.setText("put your text here");
jRadioButton.setSelected(!isSelected());
.
/* update all you need */
.
jFrame.setVisible(true);
The frame will come up with the new values / states.