-
Bug
-
Resolution: Duplicate
-
P3
-
7
-
x86
-
os_x
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b09)
ADDITIONAL OS VERSION INFORMATION :
Mac OS X 10.7.3
A DESCRIPTION OF THE PROBLEM :
For the JProgressBar, there is no animation displayed when setting indeterminate to true. This is 100% consistent, and the animation displays as expected in JDK6 using the same code.
I initially upgraded from JDK6 to the 7u4 release and discovered the bug. I then installed the snapshot release 7u6(b09) and the issue remains.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
package progressbartest;
import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
public class ProgressBarTest {
public static void main(String[] args) {
JFrame mainWindow = new JFrame("Progress Bar Test");
mainWindow.setSize(480, 320);
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
JProgressBar progressBar = new JProgressBar();
progressBar.setIndeterminate(true);
progressBar.setString("");
mainPanel.add(progressBar);
mainWindow.add(mainPanel);
mainWindow.setVisible(true);
}
}
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package progressbartest;
import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
public class ProgressBarTest {
public static void main(String[] args) {
JFrame mainWindow = new JFrame("Progress Bar Test");
mainWindow.setSize(480, 320);
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
JProgressBar progressBar = new JProgressBar();
progressBar.setIndeterminate(true);
progressBar.setString("");
mainPanel.add(progressBar);
mainWindow.add(mainPanel);
mainWindow.setVisible(true);
}
}
---------- END SOURCE ----------
Java(TM) SE Runtime Environment (build 1.7.0_06-ea-b09)
ADDITIONAL OS VERSION INFORMATION :
Mac OS X 10.7.3
A DESCRIPTION OF THE PROBLEM :
For the JProgressBar, there is no animation displayed when setting indeterminate to true. This is 100% consistent, and the animation displays as expected in JDK6 using the same code.
I initially upgraded from JDK6 to the 7u4 release and discovered the bug. I then installed the snapshot release 7u6(b09) and the issue remains.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
package progressbartest;
import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
public class ProgressBarTest {
public static void main(String[] args) {
JFrame mainWindow = new JFrame("Progress Bar Test");
mainWindow.setSize(480, 320);
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
JProgressBar progressBar = new JProgressBar();
progressBar.setIndeterminate(true);
progressBar.setString("");
mainPanel.add(progressBar);
mainWindow.add(mainPanel);
mainWindow.setVisible(true);
}
}
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package progressbartest;
import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
public class ProgressBarTest {
public static void main(String[] args) {
JFrame mainWindow = new JFrame("Progress Bar Test");
mainWindow.setSize(480, 320);
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
JProgressBar progressBar = new JProgressBar();
progressBar.setIndeterminate(true);
progressBar.setString("");
mainPanel.add(progressBar);
mainWindow.add(mainPanel);
mainWindow.setVisible(true);
}
}
---------- END SOURCE ----------
- duplicates
-
JDK-7124525 [macosx] No animation on certain Swing components in Aqua LaF
- Resolved