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.

Bug 122305 - Bad messages after running JDK bundle second time
Summary: Bad messages after running JDK bundle second time
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: JDK bundle (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: dlipin
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2007-11-19 15:30 UTC by Mikhail Kondratyev
Modified: 2007-12-10 18:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Welcome page of JDK bundle with all installed (74.06 KB, image/png)
2007-11-21 09:14 UTC, dlipin
Details
java6u3 bundle installer on Japanese XP (31.47 KB, image/png)
2007-12-09 14:10 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2007-11-19 15:30:34 UTC
Steps to reproduce:
 - install JDK bundle
 - run installer again
The window will be opened with the 
JDK 6 Update 4 is already installed. Click next if you want to proceed with NetBeans IDE installation.
But the Next button is disabled
On the other hand the message at the bottom of installer says that everything is installed and asks to press Cancel
Comment 1 dlipin 2007-11-21 09:14:00 UTC
Jan,

what the installer should look like in that case? Actually this is not only jdkbundle issue but occurs for each bundle 
(though the wording is better).
Comment 2 dlipin 2007-11-21 09:14:34 UTC
Created attachment 53282 [details]
Welcome page of JDK bundle with all installed
Comment 3 jrojcek 2007-11-22 15:06:00 UTC
I think the real problem is that the Next button is disabled. Why is that? If JDK and NetBeans are already installed, then the specific warning messages are in 
the spec:
http://ui.netbeans.org/docs/hi/nbi/nbi-ui-spec.html#Installer_Welcome

Copied from the spec:
"NetBeans IDE 6.0 and JDK 6 Update 4 are already installed. Click Cancel to exit the installation."

Comment 4 Masaki Katakai 2007-12-09 14:08:48 UTC
I run the installer on Japanese Windows with default size.
The message of "xit the installation." is chopped off  and
actually it's hard to understand.

Is there any bug report for this layout issue?
Comment 5 Masaki Katakai 2007-12-09 14:10:01 UTC
Created attachment 54044 [details]
java6u3 bundle installer on Japanese XP
Comment 6 dlipin 2007-12-10 15:13:34 UTC
Fixed in dev builds (trunk) and branch for NB6.0/JDK bundles (release60-jdk)

http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/Bundle.properties?r1=1.36.2.5.2.2&r2=1.36.2.5.2.3
http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/NbWelcomePanel.java?r1=1.27.2.1.2.1&r2=1.27.2.1.2.2

http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/NbWelcomePanel.java?r1=1.31&r2=1.32
http://installer.netbeans.org/source/browse/installer/engine/src/org/netbeans/installer/wizard/components/panels/
netbeans/Bundle.properties?r1=1.44&r2=1.45
Comment 7 dlipin 2007-12-10 18:07:34 UTC
Masaki,

no, there is no report for that layout issue. 
Actually you can get the overall message if you move your mouse over that error message.