title: How can I rename my main class in the NetBeans IDE?
body: <p>I am using NetBeans IDE and have created a new project. The new project includes a Main.java.</p>
  
  <p>Is it necessary to have it named Main.java, or can I rename the Main.java into another name?  If so, how can I do this? When I try to right-click Main.java, there is no rename option.  I thought it was possible.</p>