passing variables to another frame
Hello Java Forums,
I am making 'calculator' of a sort, and there is need for editing data.
For that purpose I want to create a new small window, which sets itself visible when I click my edit button.
2nd; I need smaller window to be focused, while the main window should be NOT focusable. Only when small window is 'disposed off' the main window gets focused back.
First; how do I pass variables (String and doubles) to small form, and than retrieve new/or-not-new variables back to main form?
Sorry for miscount, kind regards, Grom