-
Bug
-
Resolution: Fixed
-
P3
-
7, 8
-
b05
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8035738 | 9 | Alexandr Scherbatiy | P3 | Resolved | Fixed | b06 |
JDK-8045525 | 8u25 | Alexandr Scherbatiy | P3 | Resolved | Fixed | b01 |
JDK-8053759 | emb-8u26 | Alexandr Scherbatiy | P3 | Resolved | Fixed | b17 |
JDK-8181010 | openjdk7u | Unassigned | P3 | Resolved | Fixed | master |
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b121)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b63, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin mankell 13.0.2 Darwin Kernel Version 13.0.2: Sun Sep 29 19:38:57 PDT 2013; root:xnu-2422.75.4~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Retina display
A DESCRIPTION OF THE PROBLEM :
Checkmarks of JCheckBoxMenuItems aren't rendered in high res on Retina displays.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a JFrame with a menu and a selected JCheckBoxMenuItem.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The checkmark should be rendered in high resolution/HiDPI, just like the all other components.
ACTUAL -
The checkmark is quite "pixely", rendered in low resolution.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class HiDPIJCheckBoxMenuItem {
public static void main(String[] args) {
final JFrame frame = new JFrame();
final JMenuBar bar = new JMenuBar();
final JMenu menu = new JMenu("Menu");
final JCheckBoxMenuItem checkBoxMenuItem = new JCheckBoxMenuItem("JCheckBoxMenuItem");
checkBoxMenuItem.setSelected(true);
menu.add(checkBoxMenuItem);
bar.add(menu);
frame.setJMenuBar(bar);
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
frame.setBounds(100, 100, 100, 100);
frame.setVisible(true);
}
});
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8035738 [macosx] Checkmarks of JCheckBoxMenuItems aren't rendered in high resolution on Retina
- Resolved
-
JDK-8045525 [macosx] Checkmarks of JCheckBoxMenuItems aren't rendered in high resolution on Retina
- Resolved
-
JDK-8053759 [macosx] Checkmarks of JCheckBoxMenuItems aren't rendered in high resolution on Retina
- Resolved
-
JDK-8181010 [macosx] Checkmarks of JCheckBoxMenuItems aren't rendered in high resolution on Retina
- Resolved
- relates to
-
JDK-8033534 [macosx] Get MultiResolution image from native system
- Resolved
-
JDK-8311585 Add JRadioButtonMenuItem to bug8031573.java
- Resolved
-
JDK-7124410 [macosx] Lion HiDPI support
- Resolved
-
JDK-8035069 [macosx] Loading resolution variants by demand
- Resolved
-
JDK-7124410 [macosx] Lion HiDPI support
- Resolved