Reputation: 1715
I made a swing GUI using net beans, When I run the main project, the GUI is not showing up. But the output window shows the build successful.Run file is working ok. What might be wrong ? Thanks in advance..
Upvotes: 0
Views: 6730
Reputation: 5751
Just guessing here, but do you actually create an instance of the GUI and then set it visible somewhere in a method, for example, your main() method?
For example
MyGuiClass app = new MyGuiClass();
app.setVisible(true);
Upvotes: 4