This looks like a 1 form solution. I really want to learn how to communicate between 2 forms in one application. It is more of a learning exercise than a real app.
The steps I would like to learn
Show a form
Enter Data
Do Something with the data
Show the data and results on a new form
Based on what shows up, let the user do something else
I am looking for a simple example of passing information from 1 form to another form.
Assume I have a form that has 2 text fields and a go button. I enter data into the each of the text fields. When I hit go, the action listener converts the 2 text fields to decimals, add them together and opens a new form. The new form displays the 3 variables. I would like to use this sample for more complex problems etc.
Can use swing or awt. Using Eclipse as my IDE. I do not want to use a dialog box for this example.