Ejemplo n.º 1
0
 /** Check icons initialization. */
 static {
   for (int i = 1; i <= 4; i++) {
     final ImageIcon icon = new ImageIcon(WebCheckBoxUI.class.getResource("icons/c" + i + ".png"));
     CHECK_STATES.add(icon);
     DISABLED_CHECK_STATES.add(
         ImageUtils.getDisabledCopy("WebCheckBox.disabled.check." + i, icon));
   }
 }
Ejemplo n.º 2
0
  static {
    CHECK_STATES.add(StyleConstants.EMPTY_ICON);
    for (int i = 1; i <= 3; i++) {
      CHECK_STATES.add(new ImageIcon(WebRadioButtonUI.class.getResource("icons/c" + i + ".png")));
    }

    DISABLED_CHECK =
        ImageUtils.getDisabledCopy(
            "WebRadioButton.disabled.check", CHECK_STATES.get(CHECK_STATES.size() - 1));
  }