I am new to java swing and awt. Any help is appreciated a lot.
I am trying to create a swing application/frame which while starting up should show a secondary frame/dialog and collect some information from the user. This information collected from the secondary frame should be used to start drawing in the GLCanvas in the primary JFrame.
How do I do this?
I tried the following: (but got stuck)
I have two classes-one for the primary frame and another for secondary both derived from JFrame.
In the primary classes constructor, I create the secondary frame and make it visible and on top. Thus while starting the application it shows the primary frame and the secondary frame.
But I just want the program to wait there to close the secondary frame so as to continue with the primary frame..
Is this possible???