Getting the main.java to recognize data entry without closing the dialog.
posted 3 years ago
I am trying to use a jdialog I created that represents a keypad to enter data and send that data to the main program for processing upon selecting a button on the dialog. I need to keep the keypad displayed until the exit is selected, while allowing the main program to accept the keypad entries and process them. At this point I have to close the dialog to get the data to the main program. Any help is appreciated. I have a JFrame that instantiates the keypad jdialog and displays that jdialog. Thanks in advance!