I usually write console apps, but now I have to do a forms app. Hopefully that will explain the sillyness of the following question:
I created my project in NetBeans and NetBeans automatically generated a class with the project name, and this class has a main() method. Then I created a JFrame for my main panel and it also has a main() method.
So, which one of these main methods is the actual entry point of the program and which one do I throw away?