Пример #1
0
    public Dark() {
      pageBg = new Color(64, 64, 64);
      fieldBg = new Color(192, 192, 192);
      fieldBorder = null;
      fieldtextColor = Color.BLACK;
      labelColor = Color.WHITE;
      softLabelColor = labelColor.darker();

      labelFont = Fonts.getBoldFont();
      softLabelFont = Fonts.getNormalFont().deriveFont(Font.BOLD | Font.ITALIC);

      fieldDimension = new Dimension(300, 20);
      border = BorderFactory.createEmptyBorder(20, 20, 20, 20);

      rowgap = 14;
      tabsetgap = 10;
      hintgap = 7;
    }
Пример #2
0
    public Light() {
      pageBg = null;
      fieldBg = Color.WHITE;
      fieldBorder = new Color(160, 160, 160);
      fieldtextColor = Color.BLACK;
      labelColor = Color.BLACK;
      softLabelColor = new Color(65, 65, 65);

      labelFont = Fonts.getNormalFont();
      softLabelFont = Fonts.getNormalFont().deriveFont(Font.BOLD | Font.ITALIC);

      fieldDimension = new Dimension(150, 20);
      border = BorderFactory.createEmptyBorder(7, 7, 7, 7);

      rowgap = 5;
      tabsetgap = 5;
      hintgap = 5;
    }