I've got a main form, and a secondary form (this being a list from which I pick a number).
I can store values as "global" variables - so as to bring the value across different classes. Also I've managed to get the main JFrame to display the value selected in a textfield... via a "calculate" button.
Problem: I want the textfield in the main JFrame to update itself when I close the secondary JFrame... (and not have to have a separate "calculate" button as I'm doing now).
Can anyone help?
Much, much appreciated,
a java (very) newbie.