I have main class, login class and mainmenu class and they are all in a same package name Myapp. When I run Myapp its listing all these three classe and asking me to select the main class.
Is there a way I can set up so that by running Myapp, it will execute the main class first without having me select from the list?
I am building this application using NetBeans and Swing
Any help would be really appreciated.