Java 类javax.swing.plaf.metal.MetalComboBoxIcon 实例源码

项目:intellij-ce-playground    文件:BegComboBoxUI.java   
protected JButton createArrowButton() {
    JButton button = new BegComboBoxButton(
      comboBox, new MetalComboBoxIcon(), comboBox.isEditable() ? true : false,
      currentValuePane, listBox
    );
    button.setFocusPainted(false);
    button.setMargin(new Insets(0, 1, 1, 3));
//    button.setMargin(new Insets(0, 0, 0, 0));
    button.setDefaultCapable(false);
    return button;
  }
项目:tools-idea    文件:BegComboBoxUI.java   
protected JButton createArrowButton() {
    JButton button = new BegComboBoxButton(
      comboBox, new MetalComboBoxIcon(), comboBox.isEditable() ? true : false,
      currentValuePane, listBox
    );
    button.setFocusPainted(false);
    button.setMargin(new Insets(0, 1, 1, 3));
//    button.setMargin(new Insets(0, 0, 0, 0));
    button.setDefaultCapable(false);
    return button;
  }
项目:consulo    文件:BegComboBoxUI.java   
protected JButton createArrowButton() {
    JButton button = new BegComboBoxButton(
      comboBox, new MetalComboBoxIcon(), comboBox.isEditable() ? true : false,
      currentValuePane, listBox
    );
    button.setFocusPainted(false);
    button.setMargin(new Insets(0, 1, 1, 3));
//    button.setMargin(new Insets(0, 0, 0, 0));
    button.setDefaultCapable(false);
    return button;
  }