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: | Unable to use Form module with WindowsLookAndFeel | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Jiri Mzourek <jmzourek> |
Component: | Code | Assignee: | Tomas Pavek <tpavek> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jrojcek, mgrummich |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Mzourek
2001-11-26 09:41:35 UTC
It seems like JDK_1.4 / Windows 2000 issue. I try it on my Solaris and it works fine. If you try to set MetalLookAndFeel it works fine too. Target milestone -> 3.3.1. This looks like a bug in WindowsLookAndFeel. There's a NPE: java.lang.NullPointerException at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$DesktopProperty. <init>(WindowsLookAndFeel.java:1472) at com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDef aults(WindowsLookAndFeel.java:398) at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFee l.java:80) There is workaround - after runide ui switch: -ui com.sun.java.swing.plaf.windows.WindowsLookAndFeel add also: -J-Dnetbeans.form.use_idelaf=true It would be good to add this information into FAQs and ReleaseNotes. Actually it looks like it is not a bug in WindowsLookAndFeel. I can avoid the NPE, however I'm not sure quite about all consequencies so I suggest not to fix this in 3.3.0 (for which the mentioned workaround should be used). Fixed in trunk and 3.3.1. Þ verified in [nb_release33](200112120331) *** Issue 18583 has been marked as a duplicate of this issue. *** Resolved for 3.3.x or earlier, no new info since then -> closing. |