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: | cann't run applet in Browser on Mac | ||
---|---|---|---|
Product: | java | Reporter: | Daria Titova <daria_titova> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | issues, pjiricka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Daria Titova
2008-07-31 11:48:10 UTC
Applet development is now a part of J2SE project features. Could this be related to the fact that when compile on save is turned on, the jar file is not built? Daria, can you see whether the jar file that the html page refers to in fact exists? Thanks. The project cannot help you with this problem. The problem is that you have JDK 1.6 based project which has a swing layout. When you create JApplet and use form editor, it's the default layout. When executing the applet in appletviewer it works fine as it runs on the JDK 1.6, but the browser java plugin (Safari, Mozilla) is using JDK 1.5 which doesn't have swing layout. Anyway you can use different layout than SwingLayout (set layout on the applet to other, eg. GridBagLayout). You may be also interested in http://www.netbeans.org/issues/show_bug.cgi?id=139872 |