I am using NetBeans. I have to make two JFrames in separate files such as test1.java and test2.java. test1 is a simple registration form and test2 is a webcam application that captures an image.
I want to show the test2 JFrame in the Test1 JFrame. How can I do this?