1 | JPanel createButtonPanel() {↵ | | 1 | JPanel createRemoveButtonPanel() {↵
|
2 | JPanel panel = new JPanel();↵ | | 2 | JPanel panel = new JPanel();↵
|
3 | FormLayout layout = new FormLayout(↵ | | 3 | FormLayout layout = new FormLayout(↵
|
4 | "fill:default:grow, 6px, fill:default:grow, 6px, fill:default:grow", //$NON-NLS-1$↵ | | 4 | "fill:default:grow, 6px, fill:default:grow, 6px, fill:default:grow", //$NON-NLS-1$↵
|
5 | "default"); //$NON-NLS-1$↵ | | 5 | "default"); //$NON-NLS-1$↵
|
|
6 | PanelBuilder builder = new PanelBuilder(layout, panel);↵ | | 6 | PanelBuilder builder = new PanelBuilder(layout, panel);↵
|
7 | CellConstraints cc = new CellConstraints();↵ | | 7 | CellConstraints cc = new CellConstraints();↵
|
|
8 | builder.add(toButton, cc.xy(1, 1));↵ | | 8 | builder.add(toRemoveButton, cc.xy(1, 1));↵
|
9 | builder.add(ccButton, cc.xy(3, 1));↵ | | 9 | builder.add(ccRemoveButton, cc.xy(3, 1));↵
|
10 | builder.add(bccButton, cc.xy(5, 1));↵ | | 10 | builder.add(bccRemoveButton, cc.xy(5, 1));↵
|
|
11 | return panel;↵ | | 11 | return panel;↵
|
12 | }↵ | | 12 | }↵
|
|
13 | private JPanel createRemoveButtonPanel() {↵ | | 13 | private JPanel createAddressbookPanel() {↵
|
14 | JPanel panel = new JPanel();↵ | | 14 | JPanel panel = new JPanel();↵
|
15 | FormLayout layout = new FormLayout(↵ | | 15 | FormLayout layout = new FormLayout(↵
|
16 | "fill:default:grow, 6px, fill:default:grow, 6↵ | | 16 | "default, 6px, fill:default:grow", //$NON-NLS-1$↵
|
17 | px, fill:default:grow", //$NON-NLS-1$↵ | | 17 | "default, 12px, fill:default:grow, ↵
|
18 | "default"); //$NON-NLS-1$↵ | | 18 | 6px, default, 6px, default"); //$NON-NLS-1$↵
|
|
19 | PanelBuilder builder = new PanelBuilder(layout, panel);↵ | | 19 | PanelBuilder builder = new PanelBuilder(layout, panel);↵
|
20 | CellConstraints cc = new CellConstraints();↵ | | 20 | CellConstraints cc = new CellConstraints();↵
|
|
21 | builder.add(toRemoveButton, cc.xy(1, 1));↵ | | 21 | builder.add(chooseLabel, cc.xy(1, 1));↵
|
22 | builder.add(ccRemoveButton, cc.xy(3, 1));↵ | | 22 | builder.add(chooseComboBox, cc.xy(3, 1));↵
|
23 | builder.ad | | 23 | builder.ad
|