public AnchorPointClassificationPanel(
      Object displacement, String title, List<QualifiedName> properties) {
    this.title = title;

    fixed = new JRadioButton();
    property = new JRadioButton();

    ButtonGroup bg = new ButtonGroup();
    bg.add(fixed);
    bg.add(property);

    propertyCBx = new JComboBox();
    propertyCBx.setRenderer(new PropertyNameRenderer());
    for (QualifiedName qn : properties) {
      propertyCBx.addItem(new PropertyName(qn));
    }
    propertyCBy = new JComboBox();
    propertyCBy.setRenderer(new PropertyNameRenderer());
    for (QualifiedName qn : properties) {
      propertyCBy.addItem(new PropertyName(qn));
    }

    anchorEditor = new AnchorEditor();

    if (displacement instanceof Pair<?, ?>) {
      property.setSelected(true);
      propertyCBx.setSelectedItem(((Pair<?, ?>) displacement).first);
      propertyCBy.setSelectedItem(((Pair<?, ?>) displacement).second);
    } else if (displacement instanceof Point2d) {
      fixed.setSelected(true);
      anchorEditor.setValue(((Point2d) displacement).x, ((Point2d) displacement).y);
    } else {
      fixed.setSelected(true);
    }
    if (properties == null || properties.isEmpty()) {
      propertyCBx.setEnabled(false);
      propertyCBy.setEnabled(false);
      property.setEnabled(false);
    }

    FormLayout fl =
        new FormLayout(
            "$rgap, 15dlu, left:default:grow(1.0)",
            "$sepheight, center:[20dlu,default], $ug, $sepheight, bottom:10dlu, center:$cpheight, bottom:10dlu,center:$cpheight");
    DefaultFormBuilder builder = new DefaultFormBuilder(fl);
    CellConstraints cc = new CellConstraints();
    builder.addSeparator(get("$MD11713"), cc.xyw(1, 1, 3));
    builder.add(fixed, cc.xy(2, 2));
    builder.add(anchorEditor, cc.xy(3, 2));

    builder.addSeparator(get("$MD11714"), cc.xyw(1, 4, 3));
    builder.add(property, cc.xywh(2, 5, 1, 4));
    builder.addLabel(get("$MD10835"), cc.xy(3, 5));
    builder.add(propertyCBx, cc.xy(3, 6));
    builder.addLabel(get("$MD10836"), cc.xy(3, 7));
    builder.add(propertyCBy, cc.xy(3, 8));
    add(builder.getPanel());
  }
  private void layoutMainPanel() {
    Resource rb = Resource.get();

    initComponents();

    FormLayout layout = new FormLayout("2dlu, right:d, $lcgap, max(40dlu;d), $lcgap, d", "min");

    DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);
    setLayout(layout);

    setBorder(Borders.EMPTY);

    builder.add(new JLabel(rb.getString("Label.Year")), CC.xy(2, 1));
    builder.add(yearSpinner, CC.xy(4, 1));
    builder.add(sparklinePanel, CC.xy(6, 1));
  }
  /**
   * Builds the panel. Initializes and configures components first, then creates a FormLayout,
   * configures the layout, creates a builder, sets a border, and finally adds the components.
   *
   * @return the built panel
   */
  public JComponent createContentPanel() {
    FormLayout layout =
        new FormLayout(
            "p,3dlu,p,3dlu", // cols //$NON-NLS-1$
            "p,10dlu,p,10dlu"); // rows //$NON-NLS-1$

    // Create a builder that assists in adding components to the container.
    // Wrap the panel with a standardized border.
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.setDefaultDialogBorder();

    CellConstraints cc = new CellConstraints();
    JEditorPane l = new JEditorPane("text/html", Messages.getString("LicenseDialog.Email"));
    l.setEditable(false);
    l.setOpaque(false);
    l.setFont(l.getFont().deriveFont(Font.PLAIN));
    JLabel emailLabel = new JLabel(Messages.getString("LicenseDialog.EmailLabel") + ":");
    // emailLabel.setFont(emailLabel.getFont().deriveFont(Font.PLAIN));
    builder.add(l, cc.xyw(1, 1, 4));
    builder.nextLine(2);
    builder.append(emailLabel, email);
    builder.nextLine(2);

    JComponent result = builder.getPanel();
    return result;
  }
Example #4
0
  protected JComponent createMasterPanel() {
    final FormLayout layout =
        new FormLayout(
            "l:p,2dlu,f:max(p;50dlu):g(.3) ,3dlu " + "l:p,2dlu,f:max(p;50dlu):g(.3) ", "");
    final DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.setDefaultDialogBorder();
    builder.setRowGroupingEnabled(true);
    builder.append("Fecha", fecha);
    builder.append("F. Pago", formaDePago, true);
    builder.append("Banco", bancoOrigen);
    builder.append("Referencia", referencia, true);
    builder.append("Cuenta DepĆ³sito", cuentaDeposito, true);
    builder.append("Importe", importe);
    builder.append("Pago", buildPagosbox(model.getPagoMPModel().getModel("depositoRow")), true);
    builder.append("Disponible", disponible);
    builder.append("Por pagar", saldoTotal);
    builder.append("Pendiente", saldoPendiente, true);

    final CellConstraints cc = new CellConstraints();
    builder.append("Comentario");
    builder.appendRow(new RowSpec("17dlu"));
    builder.add(new JScrollPane(comentario), cc.xywh(builder.getColumn(), builder.getRow(), 5, 2));
    builder.nextLine(2);
    builder.append("Condonar", condonar);
    builder.append("Tipo de Facturas", tipoDoctos, true);
    ComponentUtils.decorateSpecialFocusTraversal(builder.getPanel());
    return builder.getPanel();
  }
  @Override
  protected void appendProperties(DefaultFormBuilder builder) {
    builder.append("Template", _template);
    builder.append(_templateButton);
    builder.nextLine();

    builder.append("Parameters");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");

    builder.nextLine();
    builder.append("");

    builder.nextRow(-6);
    JScrollPane scrollPane = new JScrollPane(_parameters);
    CellConstraints cc = new CellConstraints();
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();

    builder.append("Property Sets");
    builder.append(_propertySets, 3);
    builder.nextLine();

    builder.append("Properties");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");

    builder.nextLine();
    builder.append("");

    builder.nextRow(-6);
    scrollPane = new JScrollPane(_properties);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();
  }
Example #6
0
  public void init(BarFormat format) {
    if (format == null) return;
    FormFormat form = format.getForm();
    if (form == null) return;
    List boxes = form.getBoxes();
    if (boxes == null || boxes.size() == 0) {
      return;
    }
    FormBoxLayout formBoxLayout = form.getLayout(zoom);
    FormLayout layout = new FormLayout(formBoxLayout.getColumnGrid(), formBoxLayout.getRowGrid());
    /// DefaultFormBuilder builder = new DefaultFormBuilder(this,layout);
    DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);
    if (formBoxLayout.getBorder() == null) builder.setDefaultDialogBorder();
    else builder.setBorder(Borders.createEmptyBorder(formBoxLayout.getBorder()));
    CellConstraints cc = new CellConstraints();
    for (Iterator i = boxes.iterator(); i.hasNext(); ) {
      FormBox box = (FormBox) i.next();
      if (zoom < box.getMinZoom()) return;
      JComponent component;
      if (box.getFieldId() == null) component = new JLabel(Messages.getString(box.getTextId()));
      else {
        if (editor && !box.getField().isReadOnly()) {
          component = new ChangeAwareTextField();
          component.setBorder(null);
          // component.setOpaque(false);
        } else component = new JLabel();

        // if (box.getRow()==1&&!editor)
        // ((JLabel)component).setHorizontalAlignment(SwingConstants.CENTER);
        // bug workaround, not possible to center with classic method when rowSpan>1

        fieldComponents.put(box.getFieldId(), component);
      }
      Font font = formBoxLayout.getFont(box.getFont());
      if (font != null) component.setFont(font);
      String ba = box.getAlignment();
      int bc = box.getColumn();
      int br = box.getRow();
      int bcs = box.getColumnSpan();
      int brs = box.getRowSpan();
      try {
        builder.add(
            component, (ba == null) ? cc.xywh(bc, br, bcs, brs) : cc.xywh(bc, br, bcs, brs, ba));
      } catch (IndexOutOfBoundsException e) {
        log.fatal("box.Column(): " + bc);
        log.fatal("box.Row(): " + br);
        log.fatal("box.ColumnSpan(): " + bcs);
        log.fatal("box.RowSpan(): " + brs);
        log.fatal("box.Alignment(): " + ba);
        log.fatal("Occur Error: ", e);
      }
    }
  }
  private Component createViewComponent() {
    JTable table = new JTable(pm.getTableModel());
    table.setSelectionModel(
        new SingleListSelectionAdapter(pm.getUserSelectionInList().getSelectionIndexHolder()));

    JPanel buttonBar = createButtonBar();

    FormLayout layout = new FormLayout("p:grow", "p, 3dlu, fill:50px:grow, 3dlu, p");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    builder.setDefaultDialogBorder();
    CellConstraints cc = new CellConstraints();

    JLabel titleLabel = new JLabel(" System Users");
    titleLabel.setFont(titleLabel.getFont().deriveFont(Font.BOLD, 16f));
    titleLabel.setBackground(new Color(227, 222, 198));
    titleLabel.setOpaque(true);

    builder.add(titleLabel, cc.xy(1, 1));
    builder.add(new JScrollPane(table), cc.xy(1, 3));
    builder.add(buttonBar, cc.xy(1, 5));
    return builder.getPanel();
  }
  public JDKPath() {
    FormLayout layout =
        new FormLayout("pref, 5dlu, pref, 5dlu, pref", "pref, 5dlu, pref, 10dlu, pref");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);

    CellConstraints cc = new CellConstraints();

    builder.add(new JLabel("Minimum JDK Version:"), cc.xy(1, 1));
    builder.add(minVer = new JTextField(6), cc.xyw(3, 1, 3));

    builder.add(new JLabel("Maximum JDK Version:"), cc.xy(1, 3));
    builder.add(maxVer = new JTextField(6), cc.xyw(3, 3, 3));

    builder.add(new JLabel("Display panel if a JDK exists"), cc.xy(1, 5));
    builder.add(yes = new JRadioButton("Yes"), cc.xy(3, 5));
    builder.add(no = new JRadioButton("No"), cc.xy(5, 5));
    builder.nextLine();

    ButtonGroup bg = new ButtonGroup();
    bg.add(yes);
    bg.add(no);
  }
Example #9
0
  @Override
  protected void appendProperties(DefaultFormBuilder builder) {
    CellConstraints cc = new CellConstraints();

    builder.append("Hostname");
    builder.append(_hostname, 3);
    builder.nextLine();

    builder.appendSeparator("Deployed Applications");
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-14);
    JScrollPane scrollPane = new JScrollPane(_applications);
    scrollPane.setToolTipText(_applications.getToolTipText());
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 14));
    builder.nextRow(14);
    builder.nextLine();

    builder.appendSeparator("Dynamic Well-Known Objects");
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-14);
    scrollPane = new JScrollPane(_objects);
    scrollPane.setToolTipText(_objects.getToolTipText());
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 14));
    builder.nextRow(14);
    builder.nextLine();

    builder.appendSeparator("Dynamic Object Adapters");
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-14);
    scrollPane = new JScrollPane(_adapters);
    scrollPane.setToolTipText(_adapters.getToolTipText());
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 14));
    builder.nextRow(14);
    builder.nextLine();
  }
Example #10
0
  protected void appendProperties(DefaultFormBuilder builder) {
    builder.appendSeparator("Runtime Status");

    builder.append("Status");
    builder.append(_currentStatus, 3);
    builder.nextLine();

    builder.append("Published Endpoints");
    builder.append(_currentEndpoints, 3);
    builder.nextLine();

    builder.appendSeparator("Configuration");

    builder.append("Description");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-2);
    CellConstraints cc = new CellConstraints();
    JScrollPane scrollPane = new JScrollPane(_description);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 3));
    builder.nextRow(2);
    builder.nextLine();

    builder.append("Adapter ID");
    builder.append(_id, 3);
    builder.nextLine();

    builder.append("Replica Group");
    builder.append(_replicaGroupId, 3);
    builder.nextLine();

    builder.append("Priority");
    builder.append(_priority, 3);
    builder.nextLine();

    builder.append("Endpoints");
    builder.append(_endpoints, 3);
    builder.nextLine();

    builder.append("Published Endpoints");
    builder.append(_publishedEndpoints, 3);
    builder.nextLine();

    builder.append("", _registerProcess);
    builder.nextLine();
    builder.append("", _serverLifetime);
    builder.nextLine();

    builder.append("Well-known Objects");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-6);
    scrollPane = new JScrollPane(_objects);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();

    builder.append("Allocatable Objects");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextLine();
    builder.append("");
    builder.nextRow(-6);
    scrollPane = new JScrollPane(_allocatables);
    builder.add(scrollPane, cc.xywh(builder.getColumn(), builder.getRow(), 3, 7));
    builder.nextRow(6);
    builder.nextLine();
  }
Example #11
0
  /**
   * Customization of external program paths.
   *
   * @param prefs a <code>JabRefPreferences</code> value
   */
  public TableColumnsTab(JabRefPreferences prefs, JabRefFrame frame) {
    _prefs = prefs;
    this.frame = frame;
    setLayout(new BorderLayout());

    TableModel tm =
        new AbstractTableModel() {
          public int getRowCount() {
            return rowCount;
          }

          public int getColumnCount() {
            return 2;
          }

          public Object getValueAt(int row, int column) {
            if (row == 0) return (column == 0 ? GUIGlobals.NUMBER_COL : "" + ncWidth);
            row--;
            if (row >= tableRows.size()) return "";
            Object rowContent = tableRows.elementAt(row);
            if (rowContent == null) return "";
            TableRow tr = (TableRow) rowContent;
            switch (column) {
              case 0:
                return tr.name;
              case 1:
                return ((tr.length > 0) ? Integer.toString(tr.length) : "");
            }
            return null; // Unreachable.
          }

          public String getColumnName(int col) {
            return (col == 0 ? Globals.lang("Field name") : Globals.lang("Column width"));
          }

          public Class<?> getColumnClass(int column) {
            if (column == 0) return String.class;
            else return Integer.class;
          }

          public boolean isCellEditable(int row, int col) {
            return !((row == 0) && (col == 0));
          }

          public void setValueAt(Object value, int row, int col) {
            tableChanged = true;
            // Make sure the vector is long enough.
            while (row >= tableRows.size()) tableRows.add(new TableRow("", -1));

            if ((row == 0) && (col == 1)) {
              ncWidth = Integer.parseInt(value.toString());
              return;
            }

            TableRow rowContent = tableRows.elementAt(row - 1);

            if (col == 0) {
              rowContent.name = value.toString();
              if (((String) getValueAt(row, 1)).equals(""))
                setValueAt("" + GUIGlobals.DEFAULT_FIELD_LENGTH, row, 1);
            } else {
              if (value == null) rowContent.length = -1;
              else rowContent.length = Integer.parseInt(value.toString());
            }
          }
        };

    colSetup = new JTable(tm);
    TableColumnModel cm = colSetup.getColumnModel();
    cm.getColumn(0).setPreferredWidth(140);
    cm.getColumn(1).setPreferredWidth(80);

    FormLayout layout =
        new FormLayout(
            "1dlu, 8dlu, left:pref, 4dlu, fill:pref", // , 4dlu, fill:60dlu, 4dlu, fill:pref",
            "");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout);
    JPanel pan = new JPanel();
    JPanel tabPanel = new JPanel();
    tabPanel.setLayout(new BorderLayout());
    JScrollPane sp =
        new JScrollPane(
            colSetup,
            JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
            JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    colSetup.setPreferredScrollableViewportSize(new Dimension(250, 200));
    sp.setMinimumSize(new Dimension(250, 300));
    tabPanel.add(sp, BorderLayout.CENTER);
    JToolBar tlb = new JToolBar(SwingConstants.VERTICAL);
    tlb.setFloatable(false);
    // tlb.setRollover(true);
    // tlb.setLayout(gbl);
    AddRowAction ara = new AddRowAction();
    DeleteRowAction dra = new DeleteRowAction();
    MoveRowUpAction moveUp = new MoveRowUpAction();
    MoveRowDownAction moveDown = new MoveRowDownAction();
    tlb.setBorder(null);
    tlb.add(ara);
    tlb.add(dra);
    tlb.addSeparator();
    tlb.add(moveUp);
    tlb.add(moveDown);
    // tlb.addSeparator();
    // tlb.add(new UpdateWidthsAction());
    tabPanel.add(tlb, BorderLayout.EAST);

    showOneLetterHeadingForIconColumns =
        new JCheckBox(Globals.lang("Show one letter heading for icon columns"));

    fileColumn = new JCheckBox(Globals.lang("Show file column"));
    pdfColumn = new JCheckBox(Globals.lang("Show PDF/PS column"));
    urlColumn = new JCheckBox(Globals.lang("Show URL/DOI column"));
    preferUrl = new JRadioButton(Globals.lang("Show URL first"));
    preferDoi = new JRadioButton(Globals.lang("Show DOI first"));
    preferUrlDoiGroup = new ButtonGroup();
    preferUrlDoiGroup.add(preferUrl);
    preferUrlDoiGroup.add(preferDoi);

    urlColumn.addChangeListener(
        new ChangeListener() {
          @Override
          public void stateChanged(ChangeEvent arg0) {
            preferUrl.setEnabled(urlColumn.isSelected());
            preferDoi.setEnabled(urlColumn.isSelected());
          }
        });
    arxivColumn = new JCheckBox(Globals.lang("Show ArXiv column"));

    /** * begin: special table columns and special fields ** */
    HelpAction help = new HelpAction(frame.helpDiag, GUIGlobals.specialFieldsHelp);
    hlb = new JButton(GUIGlobals.getImage("helpSmall"));
    hlb.setToolTipText(Globals.lang("Help on special fields"));
    hlb.addActionListener(help);

    specialFieldsEnabled = new JCheckBox(Globals.lang("Enable special fields"));
    //		.concat(". ").concat(Globals.lang("You must restart JabRef for this to come into
    // effect.")));
    specialFieldsEnabled.addChangeListener(
        new ChangeListener() {
          public void stateChanged(ChangeEvent event) {
            boolean isEnabled = specialFieldsEnabled.isSelected();
            rankingColumn.setEnabled(isEnabled);
            compactRankingColumn.setEnabled(isEnabled ? rankingColumn.isSelected() : false);
            qualityColumn.setEnabled(isEnabled);
            priorityColumn.setEnabled(isEnabled);
            relevanceColumn.setEnabled(isEnabled);
            syncKeywords.setEnabled(isEnabled);
            writeSpecialFields.setEnabled(isEnabled);
          }
        });
    rankingColumn = new JCheckBox(Globals.lang("Show rank"));
    rankingColumn.addChangeListener(
        new ChangeListener() {
          public void stateChanged(ChangeEvent event) {
            compactRankingColumn.setEnabled(rankingColumn.isSelected());
          }
        });
    compactRankingColumn = new JCheckBox(Globals.lang("Compact rank"));
    qualityColumn = new JCheckBox(Globals.lang("Show quality"));
    priorityColumn = new JCheckBox(Globals.lang("Show priority"));
    relevanceColumn = new JCheckBox(Globals.lang("Show relevance"));

    // "sync keywords" and "write special" fields may be configured mutually exclusive only
    // The implementation supports all combinations (TRUE+TRUE and FALSE+FALSE, even if the latter
    // does not make sense)
    // To avoid confusion, we opted to make the setting mutually exclusive
    syncKeywords = new JRadioButton(Globals.lang("Synchronize with keywords"));
    writeSpecialFields =
        new JRadioButton(
            Globals.lang("Write values of special fields as separate fields to BibTeX"));
    ButtonGroup group = new ButtonGroup();
    group.add(syncKeywords);
    group.add(writeSpecialFields);

    builder.appendSeparator(Globals.lang("Special table columns"));
    builder.nextLine();
    builder.append(pan);

    DefaultFormBuilder specialTableColumnsBuilder =
        new DefaultFormBuilder(
            new FormLayout(
                "8dlu, 8dlu, 8cm, 8dlu, 8dlu, left:pref:grow",
                "pref, pref, pref, pref, pref, pref, pref, pref, pref, pref"));
    CellConstraints cc = new CellConstraints();

    specialTableColumnsBuilder.add(specialFieldsEnabled, cc.xyw(1, 1, 3));
    specialTableColumnsBuilder.add(rankingColumn, cc.xyw(2, 2, 2));
    specialTableColumnsBuilder.add(compactRankingColumn, cc.xy(3, 3));
    specialTableColumnsBuilder.add(relevanceColumn, cc.xyw(2, 4, 2));
    specialTableColumnsBuilder.add(qualityColumn, cc.xyw(2, 5, 2));
    specialTableColumnsBuilder.add(priorityColumn, cc.xyw(2, 6, 2));
    specialTableColumnsBuilder.add(syncKeywords, cc.xyw(2, 7, 2));
    specialTableColumnsBuilder.add(writeSpecialFields, cc.xyw(2, 8, 2));
    specialTableColumnsBuilder.add(showOneLetterHeadingForIconColumns, cc.xyw(1, 9, 5));
    specialTableColumnsBuilder.add(hlb, cc.xyw(1, 10, 2));

    specialTableColumnsBuilder.add(fileColumn, cc.xyw(5, 1, 2));
    specialTableColumnsBuilder.add(pdfColumn, cc.xyw(5, 2, 2));
    specialTableColumnsBuilder.add(urlColumn, cc.xyw(5, 3, 2));
    specialTableColumnsBuilder.add(preferUrl, cc.xy(6, 4));
    specialTableColumnsBuilder.add(preferDoi, cc.xy(6, 5));
    specialTableColumnsBuilder.add(arxivColumn, cc.xyw(5, 6, 2));

    builder.append(specialTableColumnsBuilder.getPanel());
    builder.nextLine();

    /** * end: special table columns and special fields ** */
    builder.appendSeparator(Globals.lang("Entry table columns"));
    builder.nextLine();
    builder.append(pan);
    builder.append(tabPanel);
    builder.nextLine();
    //	lab = new JLabel("<HTML>("+Globals.lang("this button will update the column width
    // settings<BR>"
    //						+"to match the current widths in your table")+")</HTML>");
    //        lab = new JLabel("<HTML>("+Globals.lang("this_button_will_update") +")</HTML>") ;
    builder.append(pan);
    JButton buttonWidth = new JButton(new UpdateWidthsAction());
    JButton buttonOrder = new JButton(new UpdateOrderAction());
    builder.append(buttonWidth);
    builder.nextLine();
    builder.append(pan);
    builder.append(buttonOrder);
    builder.nextLine();
    builder.append(pan);
    // builder.append(lab);
    builder.nextLine();
    pan = builder.getPanel();
    pan.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
    add(pan, BorderLayout.CENTER);
  }