-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2, 6
-
b82
-
x86
-
windows_xp
Name: rmT116609 Date: 08/21/2003
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
JProgressBar, when set to indeterminate mode, renders as a bar moving left-right-left, on Windows 2000 and XP, with WindowsLookAndFeel.
Actually WindowsXP's native components render indeterminate mode progress bars as a couple of dots, moving left-right, then starting again left-right.
You can see the actual behaviour when using the "search for files" facility on WindowsXP.
AFAIK this is called "marquee" style and was introduced with WindowsXP.
It is a visual fault to not simulate that visual style.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create JProgressBar. Set Indeterminate to true. Look how it renders.
Then open file search facility on WindowsXP. Search for some file. Look how that renders.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should render same as WindowsXP does.
ACTUAL -
Renders like Metal Look and Feel.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class X {
public static void main(String[] a) {
JFrame f = new JFrame();
JProgressBar p = new JProgressBar();
p.setIndeterminate(true);
f.getContentPane().add(p);
f.pack();
f.show();
}
}
---------- END SOURCE ----------
(Incident Review ID: 199860)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
JProgressBar, when set to indeterminate mode, renders as a bar moving left-right-left, on Windows 2000 and XP, with WindowsLookAndFeel.
Actually WindowsXP's native components render indeterminate mode progress bars as a couple of dots, moving left-right, then starting again left-right.
You can see the actual behaviour when using the "search for files" facility on WindowsXP.
AFAIK this is called "marquee" style and was introduced with WindowsXP.
It is a visual fault to not simulate that visual style.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create JProgressBar. Set Indeterminate to true. Look how it renders.
Then open file search facility on WindowsXP. Search for some file. Look how that renders.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should render same as WindowsXP does.
ACTUAL -
Renders like Metal Look and Feel.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class X {
public static void main(String[] a) {
JFrame f = new JFrame();
JProgressBar p = new JProgressBar();
p.setIndeterminate(true);
f.getContentPane().add(p);
f.pack();
f.show();
}
}
---------- END SOURCE ----------
(Incident Review ID: 199860)
======================================================================
- duplicates
-
JDK-6307767 JProgressBar in indeterminate mode on WinXP is not consistent with other WinXP L&F implementation
- Closed
- relates to
-
JDK-6422951 progress bar (in indeterminate mode) is not clear on VISTA
- Closed