コード例 #1
0
  private void installLaf(Object f, Method method) {
    try {

      /* lafClassName = UIManager.getSystemLookAndFeelClassName();

      String v = AsOptionMeta.getOptVal(SystemOptionConstants.OPT_SYS_LOOK_AND_FEEL);
      preferredFontSize = AsOptionMeta.getOptVal(SystemOptionConstants.OPT_PREFERRED_FONT_SIZE);

      if (v != null) {
        lafClassName = v;
      }*/

      LookAndFeel lf =
          (LookAndFeel)
              (Class.forName(lafClassName)
                  .newInstance()); // "com.ufgov.smartclient.plaf.BlueLookAndFeel"
      UIManager.setLookAndFeel(lf);
      SwingUtil.setFontSize(Integer.parseInt(preferredFontSize));
      SwingUtilities.updateComponentTreeUI((JApplet) f);
    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
コード例 #2
0
package com.ufgov.zc.client.zc.expertevaluate;
コード例 #3
0
package com.ufgov.zc.client.component.ui;
コード例 #4
0
/**