This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 139867 - WebStart-ed Applet project can't be run until main class is set
Summary: WebStart-ed Applet project can't be run until main class is set
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 139872
  Show dependency tree
 
Reported: 2008-07-14 12:48 UTC by Tomas Pavek
Modified: 2016-07-07 08:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2008-07-14 12:48:49 UTC
Build dev 200807101204, JDK 1.6.0_10-beta-b25, Windows Vista

The new feature (in JDK 1.6 u10) of webstart-able applets supported newly in NB 6.5 is nice, but the project can't be
run if no main class is set. If I set whatever class as main, the project then runs - correctly via Web Start, using
applet viewer. The main class should not be needed (not run anyway), or the applet class should be possible to work as
main class - see issue 139865.

Steps:
- Create a new Java Application project, don't generate the Main class
- Create a new JApplet form
- Make the project webstart-able, configure it to use applet
- Try to run the project - it complains about missing main class however it is not going to run it
Comment 1 Antonin Nebuzelsky 2010-01-11 04:29:10 UTC
Changing the default component owner to tzezula.
Comment 2 Tomas Danek 2012-10-26 11:09:27 UTC
reproducible, but easy to workaround.
Comment 3 Martin Balin 2016-07-07 08:39:37 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss