When I start my program I create the MainFrame. When I click on the button "search", I show another JFrame. If it obtains results on the search, the goal is to fill the information in MainFrame.
It's all working. But to be able to display the information, I have to re-create the MainFrame. What means, that the two MainFrame's stay open.
How do I hide the first?
Supose thet i have only the MainFrame and one dialog with the Search form.
When i click on ok button on the search dialog, i have some info.
In the MainFrame Class i know that the info is there.
I have the settext on the textfield's, etc... and on the final line i have the "setvisible(true)".
But they remain blanc! Why??
Can anyone post here an example, how to do it? Please
I just search for all options, but i can't solve.