A John Peters

Greenhorn
+ Follow
since Oct 17, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by A John Peters

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

Thanks
John
12 years ago
Kind of convoluted at this time but here it is. Be gentle, I am learning, that is why I want a simple example to work with.


and
12 years ago
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.

Thanks is advance

John
12 years ago