title: How do you add a jFrame to your main class in Netbeans?
body: <p>So I have made a Jframe with a lot of elements and buttons and things in it, but I am new to using NetBeans.  Upon creating the java application a main class.java was created and upon adding the jframe another jframe.java was created.  How do I get the main class to open, read, and run my jframe.java?  I can upload the specific code if need be.</p>
  
  <p>Thanks in advance</p>