Beispiel #1
0
  private void layoutMainPanel() {
    initComponents();

    FormLayout layout = new FormLayout("p, 8dlu, 85dlu:g", "");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);

    builder.appendSeparator(rb.getString("Title.SelDestAccount"));
    builder.nextLine();
    builder.appendRelatedComponentsGapRow();
    builder.nextLine();
    builder.appendRow(RowSpec.decode("p"));
    builder.append(helpPane, 3);

    builder.nextLine();
    builder.appendRelatedComponentsGapRow();
    builder.nextLine();
    builder.append(rb.getString("Label.DestAccount"), accountCombo);
    builder.nextLine();
    builder.append(rb.getString("Label.DateFormat"), dateFormatCombo);
  }
Beispiel #2
0
  private void layoutMainPanel() {
    initComponents();

    FormLayout layout = new FormLayout("p, 8dlu, d:g", "");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);

    builder.appendSeparator(rb.getString("Title.ImpSum"));
    builder.nextLine();
    builder.appendRelatedComponentsGapRow();
    builder.nextLine();
    builder.append(rb.getString("Label.DestAccount"), destLabel);
    builder.append(rb.getString("Label.NumTrans"), transCount);
  }
Beispiel #3
0
  private void layoutMainPanel() {
    initComponents();

    FormLayout layout =
        new FormLayout("min(65dlu;d):g(0.5), 8dlu, d, 8dlu, min(65dlu;d):g(0.5)", "");
    DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);

    builder.appendSeparator(rb.getString("Title.SelAvailCurr"));
    builder.nextLine();
    builder.appendRelatedComponentsGapRow();
    builder.nextLine();
    builder.append(helpPane, 5);

    builder.appendTitle(rb.getString("Title.Available"));
    builder.append("");
    builder.appendTitle(rb.getString("Title.Selected"));
    builder.nextLine();
    builder.appendRelatedComponentsGapRow();
    builder.nextLine();
    builder.appendRow(RowSpec.decode("f:d:g"));
    builder.append(new JScrollPane(aJList), buildCenterPanel(), new JScrollPane(cJList));
  }
  private JPanel layoutPanel() {
    final FormLayout layout = new FormLayout("75dlu:g, 8dlu, p", "f:p:g(1.0)");

    final DefaultFormBuilder builder = new DefaultFormBuilder(layout);

    final JScrollPane scrollPane = new JScrollPane(list);

    builder.append(scrollPane, layoutButtonPanel());
    builder.nextLine();
    builder.appendRelatedComponentsGapRow();
    builder.nextLine();
    builder.append(entryField, insertButton);
    return builder.getPanel();
  }