Sorry, I don't know anything about netbeans's projects.
One of the classes needs to have a main() method where the program's execution starts. The code in that class can create instances of all...
Type: Posts; User: Norm
Sorry, I don't know anything about netbeans's projects.
One of the classes needs to have a main() method where the program's execution starts. The code in that class can create instances of all...
One confusing part is that both classes have main() methods indicating that they are intended to be executed as the MAIN program. One of the classes must be subordinate to the other. One class is...
You have posted two separate, independent classes which would be executed as separate programs.
Where is there supposed to be any connection between these two classes?
Can you make a small, complete program that compiles, executes and shows the problem? It should have the minimum code needed to show the problem.