Re: Tutorial on GUI building in NetBeans 5.5
Patrick Keegan <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hello, Are you sure that you created a JFrame in the Creating a GUI Container section of the tutorial? If you created a different kind of container (such as a JPanel) here, you might not have a class with a main() method. For future reference, questions like this should be asked on the nbusers mailing list. This list concerns the UI of the IDE itself. -Patrick > The only thing I noticed was that I failed to DESELECT the "create main > class" option when creating the project. That's what the tutorial says here > : > > 4. Ensure that the Set as Main Project checkbox is selected and deselect > Create Main Class if it is selected. > > Thanks, > Bob > > > robertmazzo wrote: > >> I just finished the netBeans 5.5 GUI tutorial at the following URL : >> >> http://www.netbeans.org/kb/55/quickstart-gui.html >> >> I can preview my UI form, however I cannot actually run it. I actually >> built the project under the "Build" menu, but it won't run from DOS as >> follows: >> >> java -jar ContactEditor.jar >> >> >> It also won't even run using the RUN option in the NetBeans IDE. Am I >> missing something here ? >> >> Thank you ahead of time. >> Bob >> >> >> > >