2
There’s nothing wrong with doing that. What happens is that a lot of people prefer to create the project from scratch and all control for you of what happens in it, and if you check this option, the IDE will create a main class based on the project name, which is not always expected, and netbeans will eventually define this class as the starting point of the project’s execution.
Also, if you need to change the main class later, you will have to tinker with the properties of the project, which may not be so simple for those starting.
But in short, this is not a problem, if you already know which class will be the starting point of your application in the creation of the project. If you uncheck this option, either way, netbeans will prompt you to choose a main class (if you have more than one with the main method) when running the project for the first time, and later you can rename this class as well.
Uncheck what? It’s been a while since I’ve done java-swing and I’ve never seen it. I could explain it better?
– user28595
Giovane, you can show a screenshot than you have to "clear"?
– Jéf Bueno
Sure, I’ll send the screenshot
– Giovane Machado
Quiet. Just note that you need [Edit] the question to add the screenshot, do not need to do another post =D
– Jéf Bueno