ADDITIONAL SYSTEM INFORMATION :
Windows 10; OpenJDK-11.0.2; 125 scaling factor
A DESCRIPTION OF THE PROBLEM :
I have a 2k monitor with a 125 scale factor on Windows 10. The bullet point icon that is painted in the centre when JRadioButton is selected is not painted perfectly round.
I filled in the "Source code" field with a sample
This bug is related with this one: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8276070
---------- BEGIN SOURCE ----------
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.UIManager;
public class RadioButtonExample {
RadioButtonExample() {
JFrame f = new JFrame("JRadioButton Example");
JRadioButton rb1 = new JRadioButton("A");
JRadioButton rb2 = new JRadioButton("B", true);
JPanel panel = new JPanel();
panel.setLayout(new GridBagLayout());
f.add(panel);
GridBagConstraints gbc = new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 0;
panel.add(rb1, gbc);
gbc.gridy++;
panel.add(rb2, gbc);
f.setSize(400, 400);
f.pack();
f.setLayout(null);
f.setVisible(true);
}
public static void main(String args[]) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
e.printStackTrace();
}
new RadioButtonExample();
}
}
---------- END SOURCE ----------
FREQUENCY : always