Hello friends, thank you very much for your quick replies and helped me a lot to solve my previous problem.
This time i have a different question.
How do i make a frame to be hidden and open another one when a button is clicked..
I have written this code in the actionperformed event of one button in frame1
But the error i receive is show() method is deprecated and as well as frame2 is not available. I mean it is treated as an undeclared variable. The intellisense didn't recognized it.
frame1 is one
java file and frame2 is another one.
Please hep me to overcome the problem...