title: JAVA Project...want to add a .java file into my project
body: <p>I want to add a .java file into my project. But this .java has "Main". and this is a big .java file. 
  I just want to call and run this .java file somewhere in my project. How can I deal with this?
  Wish I made this clear.
  Thanks you all.</p>
  
  <p>P.s. I m using netbeans.</p>
  
  <p>With IDE, Netbeans</p>