khsanth
asked on
Threads and GUIs
Ok, I'm working on a program to be used by a campground, keeping track of customers, campsites, and reservations. The problem I'm running into is in my code. I have a main GUI that opens at the start of the program, and from there other GUI's can be opened through the toolbar. I'm completely new to threads, and I know I need to use them, but I've had a bit of bad luck finding the information I'm looking for on their use.
One thing that needs to be done is information must be passed between the GUI's. For example, MainGUI is opened at the onset of the program, then the FindEditCustomerGUI is opened. From there, CustomerSearchGUI is opened and a customer is found from the database given the criteria established in the FindEditCustomerGUI and displayed in the table. The customer is selected, and Found Customer button is pressed, and the customer object needs to be sent back to the FindEditCustomerGUI.
I've spent two hours searching for information on how to do this, but have come up with nothing. Any help on how to use threads and how to pass information back and forth would be greatly appreciated.
One thing that needs to be done is information must be passed between the GUI's. For example, MainGUI is opened at the onset of the program, then the FindEditCustomerGUI is opened. From there, CustomerSearchGUI is opened and a customer is found from the database given the criteria established in the FindEditCustomerGUI and displayed in the table. The customer is selected, and Found Customer button is pressed, and the customer object needs to be sent back to the FindEditCustomerGUI.
I've spent two hours searching for information on how to do this, but have come up with nothing. Any help on how to use threads and how to pass information back and forth would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the prompt replies and for steering me down the right path. I'll have to confer with my group and come up with a new course of action, which means I might be asking more questions later.
ASKER