Re: Tutorial on GUI building in NetBeans 5.5
Melvin Zamora <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hi, Lets do this be hand using NB. Your aim would be to get in here to this file "project.properties" of the nbproject folder. Go to the window menu, select the file, then the file tab activates. Look for your projectFolder/nbproject then open the project.properties. In the project.properties find the "main.class" property and put a value like this format yourpackage.YourMainClass. Then build it. Now your jar hopes would run as expected. BTW, project.properties here you can set your configurations in here, you can examine it for further anyway. -Melvin Janilane <[email protected]> wrote: I also cannot run my completed UI. I am getting this error below. Is something I should set up in my pc? "Failed to load Main-Class manifest attribute from ContactEditor1.jar" 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 > > -- View this message in context: http://www.nabble.com/Tutorial-on-GUI-building-in-NetBeans-5.5-tf3202473.html#a9899451 Sent from the Netbeans - UI mailing list archive at Nabble.com. --------------------------------- Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.