Thanks for the answer, yeah of course I have the main method. The program run normally when I compiled it with the compiler. But I just want it to run like an exe file, without the need to compile it again and again.
The manifest file specifies where the main class is, that way the program can run as you want it to. And netbeans generates the manifest file for you, so you don't see the details of it, but I'm sure that it happens. The manifest file can also do other things, I think, but I'm not sure what they are. See here for more info:
Thank you so much Ezzaral :)))
I did what you said about the properties under the project and everything seems fine now:)
The only problem I have is that the icons of the buttons I have in the interface are not shown or recognized:( What can I do? Please answer me;)