Пример #1
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("FFFF99"));
   UIManager.put("nimbusBase", ColorManager.createColor("FF9966")); // B53056
   UIManager.put("nimbusDisabledText", ColorManager.createColor("51343E"));
   UIManager.put("nimbusFocus", ColorManager.createColor("FFFF99")); // FFA8C6
 }
Пример #2
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("998080"));
   UIManager.put("nimbusBase", ColorManager.createColor("702900"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("56463D"));
   UIManager.put("nimbusFocus", ColorManager.createColor("994A4A"));
 }
Пример #3
0
 private static void resetDefaults() {
   UIManager.put("control", ColorManager.createColor("D0DBE6")); // d6d9df D0DBE6 C9D0DD
   UIManager.put("nimbusBase", ColorManager.createColor("386BA5")); // 33628c
   UIManager.put("nimbusFocus", ColorManager.createColor("73A4D1"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("8e8f91"));
   //  UIManager.put("TextArea.foreground",Color.black);
   //  UIManager.put("List.foreground",Color.black);
 }
Пример #4
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("FFC1C1"));
   UIManager.put("nimbusBase", ColorManager.createColor("72000B"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("563D3D"));
   UIManager.put("nimbusFocus", ColorManager.createColor("99545B"));
 }
Пример #5
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("F9CB98"));
   UIManager.put("nimbusBase", ColorManager.createColor("FF9966"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("F9CB98"));
   UIManager.put("nimbusFocus", ColorManager.createColor("FF6666"));
 }
Пример #6
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("E55754"));
   UIManager.put("nimbusBase", ColorManager.createColor("652222"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("636363"));
   UIManager.put("nimbusFocus", ColorManager.createColor("AF0000"));
 }
Пример #7
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("FF9C4C"));
   UIManager.put("nimbusBase", ColorManager.createColor("3F3F3F"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("404040"));
   UIManager.put("nimbusFocus", ColorManager.createColor("006009"));
 }
Пример #8
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("9EE8FF"));
   UIManager.put("nimbusBase", ColorManager.createColor("1C3877"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("768096"));
   UIManager.put("nimbusFocus", ColorManager.createColor("BFE0FF"));
 }
Пример #9
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("CFBCE2"));
   UIManager.put("nimbusBase", ColorManager.createColor("3D1B63"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("544960"));
   UIManager.put("nimbusFocus", ColorManager.createColor("412165"));
 }
Пример #10
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("E3CE9B"));
   UIManager.put("nimbusBase", ColorManager.createColor("662300"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("704D4D"));
   UIManager.put("nimbusFocus", ColorManager.createColor("9E3400"));
 }
Пример #11
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("699BD3"));
   UIManager.put("nimbusBase", ColorManager.createColor("3A4668"));
   UIManager.put("nimbusDisabledText", ColorManager.createColor("565656"));
   UIManager.put("nimbusFocus", ColorManager.createColor("2A3554"));
 }
Пример #12
0
    @Override
    public void doColoring() {
      // choose random colors
      Color control = Color.black;
      Color nimbusBase = Color.black;

      while (ColorManager.sumOfrgbValues(control) <= 256 * 2)
        control = ColorManager.randomColor(); // any sum under that is too dark/too extreme

      nimbusBase = ColorManager.randomColor(); // no matter how dark this is it's OK

      UIManager.put("control", control);
      UIManager.put("nimbusBase", nimbusBase);
      UIManager.put("nimbusFocus", ColorManager.randomColor());
    }
Пример #13
0
  private NewPanel() {

    setBackground(Color.decode(ColorManager.getCreatePanelBackground()));
    Dimension dim = new Dimension(200, 120);
    setPreferredSize(dim);
    JTextField text = new JTextField("", 15);
    SubmitButton submit = new SubmitButton(text);
    setBorder(
        BorderFactory.createMatteBorder(
            5, 5, 5, 5, Color.decode(ColorManager.getCreatePanelBorder())));
    JLabel label = new JLabel("Create a new button");
    label.setForeground(Color.decode(ColorManager.getCreatePanelText()));
    add(label);
    add(text);
    add(submit);
  }
Пример #14
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("F9FBFB"));
   UIManager.put("nimbusBase", ColorManager.createColor("3D3DFF"));
 }
Пример #15
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("C4FF93"));
   UIManager.put("nimbusBase", ColorManager.createColor("4D92E6")); // 4E8AFE
 }
Пример #16
0
 @Override
 public void doColoring() {
   resetDefaults();
   UIManager.put("control", ColorManager.createColor("FFFDAD"));
   UIManager.put("nimbusBase", ColorManager.createColor("4AC0FF"));
 }