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: | [JDK1.5.0] Browse button doesn't invoke JFileChooser | ||
---|---|---|---|
Product: | installer | Reporter: | dmladek <dmladek> |
Component: | Code | Assignee: | issues@installer <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | JDK_SPECIFIC |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
dmladek
2004-03-15 09:35:32 UTC
The problem is on Win2K too --> "All" platform Seems to be a problem of JDK 1.5 or problem of parent window setting -- see issue #39322. George, can you please investigate, if it is NetBeans installer bug or JDK bug? Thanks. Looks like the jdk is throwing an exception, so I'll need to file a bug: (Mar 18, 2004 8:30:15 AM), Setup.product.install, com.sun.installer.JDKSelection Panel, dbg, ===> Action Performed(), instnce of. java.lang.ClassCastException: java.lang.Integer at javax.swing.plaf.basic.BasicFileChooserUI.getMnemonic(Unknown Source) at javax.swing.plaf.basic.BasicFileChooserUI.installStrings(Unknown Source) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installStrings(U nknown Source) at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(Unknown Source) at javax.swing.plaf.basic.BasicFileChooserUI.installUI(UnknownSource) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknow n Source) at javax.swing.JComponent.setUI(Unknown Source) at javax.swing.JFileChooser.updateUI(Unknown Source) at javax.swing.JFileChooser.setup(Unknown Source) at javax.swing.JFileChooser.<init>(Unknown Source) at javax.swing.JFileChooser.<init>(Unknown Source) at com.sun.installer.JDKSelectionPanel.actionPerformed(JDKSelectionPanel.java:290) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(UnknownSource) at javax.swing.DefaultButtonModel.fireActionPerformed(UnknownSource) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(UnknownSource) at java.awt.EventDispatchThread.pumpEventsForHierarchy(UnknownSource) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Wizard.getExitCode(): called after WizardServices is shutdown. Wizard.getExitCode(): called after WizardServices is shutdown. *** Issue 41179 has been marked as a duplicate of this issue. *** Increasing priority to P2 since JDK 1.5.0 is our target JDK. This is due to the BasicFileChooserUI inconsistency between JDK 1.4 and JDK 1.5 JDK bug has been submitted (5059770) Provided workaround in the code. It should work in the next build. Verified. Good job Vlado, thanks. *** Issue 46691 has been marked as a duplicate of this issue. *** WRT to comments posted at Issue 46691, JDK 1.5.0 beta 3? ? At http://java.sun.com/j2se/index.jsp, the latest sun is offering is only beta 2. Anyone of you could lend me an insider connection to get beta3 latest? I downloaded the latest nb build netbeans-4_0-daily-bin-200408111800- windows-11_Aug_2004_1800. Browse button still doesn't work with my JDK 1.5.0 beata 2. try Tiger build 59 http://java.sun.com/j2se/1.5.0/snapshots/ |