-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7u4
-
os_x
FULL PRODUCT VERSION :
java version " 1.7.0_09 "
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
Mac OS X 10.8.2
A DESCRIPTION OF THE PROBLEM :
The Swing JProgressBar on OS X does not animate.
Neither the indeterminate progress bar, nor the determinate one show any animated sign of progress.
REGRESSION. Last worked in version 6u31
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class ScratchSpace {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
JFrame frame = new JFrame( " JProgressBar Test " );
JPanel panel = new JPanel();
final JProgressBar progressBar1 = new JProgressBar();
progressBar1.setIndeterminate(true);
panel.add(progressBar1);
final JProgressBar progressBar2 = new JProgressBar(0, 100);
progressBar2.setValue(50);
panel.add(progressBar2);
frame.setContentPane(panel);
frame.pack();
frame.setLocationRelativeTo(null);
frame.setVisible(true);
}
});
}
}
---------- END SOURCE ----------
java version " 1.7.0_09 "
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
Mac OS X 10.8.2
A DESCRIPTION OF THE PROBLEM :
The Swing JProgressBar on OS X does not animate.
Neither the indeterminate progress bar, nor the determinate one show any animated sign of progress.
REGRESSION. Last worked in version 6u31
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class ScratchSpace {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
JFrame frame = new JFrame( " JProgressBar Test " );
JPanel panel = new JPanel();
final JProgressBar progressBar1 = new JProgressBar();
progressBar1.setIndeterminate(true);
panel.add(progressBar1);
final JProgressBar progressBar2 = new JProgressBar(0, 100);
progressBar2.setValue(50);
panel.add(progressBar2);
frame.setContentPane(panel);
frame.pack();
frame.setLocationRelativeTo(null);
frame.setVisible(true);
}
});
}
}
---------- END SOURCE ----------
- duplicates
-
JDK-7124525 [macosx] No animation on certain Swing components in Aqua LaF
- Resolved