示例#1
0
文件: Table.java 项目: davidcl/scilab
  /** Constructor */
  public Table() {
    super();
    setStyle(__GO_UI_TABLE__);
    if (Console.getConsole().getUseDeprecatedLF()) {
      setRelief(RELIEF_FLAT);
    } else {
      UIDefaults defaults = UIManager.getDefaults();

      // font
      setFont(defaults.getFont("Table.font"));

      // h-alignment
      setHorizontalAlignment("left");

      // v-alignement
      setVerticalAlignment("middle");
    }
  }