示例#1
0
 public void installUI(JComponent c) {
   super.installUI(c);
   c.setOpaque(false);
 }
示例#2
0
 @Override
 public void installUI(JComponent c) {
   super.installUI(c);
   this.menuItem.setRolloverEnabled(true);
 }