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.
RH9, NetBeansIDE-release36-200403141830 and java version "1.5.0-beta2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b41) Java HotSpot(TM) Client VM (build 1.5.0-beta2-b41, mixed mode) ==================================================== On my RH9 linux I have more jdks installed. One of them is jdk1.5 beta. Even though I don't have it set as my default (by $JAVA_HOME, etc. variable), the installer starts using this jdk1.5. when I wish to browse to to the different NB install dir. No JFileChooser appeared:-( IMHO, this is more jdk1.5 bug... but if you could check it, please. Thanks
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/