Re: Tutorial on GUI building in NetBeans 5.5
Patrick Keegan <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
BTW, this thread would probably get more and quicker responses on nbusers. nbui is devoted to the user interface of NetBeans itself, not to developing GUI apps with NetBeans. -Patrick > 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 >> >> >> > >