use of jgnash.ui.components.ShadowBorder in project jgnash by ccavanaugh.
the class InvestmentTransactionPanel method layoutMainPanel.
private void layoutMainPanel() {
initComponents();
FormLayout layout = new FormLayout("d, 4dlu, m:g, 4dlu, m", "f:d, $ugap, f:d");
CellConstraints cc = new CellConstraints();
setBorder(new CompoundBorder(new ShadowBorder(), Borders.TABBED_DIALOG));
setLayout(layout);
add(cardPanel, cc.xyw(1, 1, 5));
add(new JSeparator(), cc.xyw(1, 2, 5));
add(new JLabel(rb.getString("Label.Action")), cc.xy(1, 3));
add(actionCombo, cc.xy(3, 3));
add(StaticUIMethods.buildOKCancelBar(enterButton, cancelButton), cc.xy(5, 3));
}
use of jgnash.ui.components.ShadowBorder in project jgnash by ccavanaugh.
the class RegisterPanel method layoutMainPanel.
private void layoutMainPanel() {
initComponents();
FormLayout layout = new FormLayout("p:g", "");
DefaultFormBuilder builder = new DefaultFormBuilder(layout, this);
builder.border(Borders.DIALOG);
builder.append(createTopPanel());
builder.nextLine();
builder.appendRelatedComponentsGapRow();
builder.nextLine();
builder.appendRow("fill:60dlu:g");
JScrollPane s = new JScrollPane(table);
s.setBorder(new ShadowBorder());
builder.append(s);
buttonPanel = createButtonPanel();
builder.append(buttonPanel);
builder.append(tabbedPane);
}
Aggregations