macOS Aqua LookAndFeel JRadioButtonMenuItem,如JCheckBoxMenuItem

时间:2017-10-30 19:35:53

标签: java java-8 macos-sierra look-and-feel

PopupMenu.add(new javax.swing.JCheckBoxMenuItem("JCheckBoxMenuItem", true));
PopupMenu.add(new javax.swing.JCheckBoxMenuItem("JCheckBoxMenuItem", false));
PopupMenu.addSeparator();
PopupMenu.add(new javax.swing.JRadioButtonMenuItem("JRadioButtonMenuItem", true));
PopupMenu.add(new javax.swing.JRadioButtonMenuItem("JRadioButtonMenuItem", false));

enter image description here

JPopupMenu与LookAndFeel Aqua "com.apple.laf.AquaLookAndFeel"一起使用... 如您所见,JRadioButtonMenuItem的显示方式与JCheckBoxMenuItem相同。

与其他LookAndFeels比较。

GTK

enter image description here

enter image description here

Windows经典

enter image description here

基序

enter image description here

金属

enter image description here

是正常还是错误?

0 个答案:

没有答案