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.
Summary: | Cannot run JApplet Form outside NetBeans | ||
---|---|---|---|
Product: | java | Reporter: | Jaromir Uhrik <juhrik> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | phrebejk |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jaromir Uhrik
2006-08-02 10:31:54 UTC
This issue has two parts. The applet requires correct code base attribute with swinglayout.jar. The second part is that the html file is created into build folder, it should be generated into the dist folder with some reasonable unique name (fqn of applet class?) I think that the layout library should be defined by archive attribute, like this: <APPLET archive="JavaApplication1.jar,lib/swing-layout-1.0.jar" code="javaapplication1/NewJApplet.class" width=350 height=200> </APPLET> and the applet will be created under dist folder with name javaapplication1-NewJApplet.html as Tomas suggested. Not widely used I guess. Not for 6.0 Since JDK1.6U10 resurrects applets, let's try to fix this. Better support for Applet as well as support for Applet with jnlp (Mustang) is required. The test applet page is not intended to be used externally. Please use the JNLP base applet deployment. Project Properties/Web Start. After turning on and clean & build it generates launch.html in dist folder which uses deployJava.js and JNLP file to start the applet. |