1 | private JPanel createPanel() {↵ | | 1 | private JPanel createPanel() {↵
|
2 | JPanel jpanel1 = new JPanel();↵ | | 2 | JPanel jpanel1 = new JPanel();↵
|
3 | FormLayout formlayout1 = new FormLayout(↵ | | 3 | FormLayout formlayout1 = new FormLayout(↵
|
4 | "FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE",↵ | | 4 | "FILL:DEFAULT:GROW(1.0),3DLU,FILL:DEFAULT:NONE",↵
|
5 | "CENTER:DEFAULT:NONE,1DLU,FILL:DEFAULT:GROW(1.0),3DLU,CENTER:DEFAULT:NONE");↵ | | 5 | "CENTER:DEFAULT:NONE,1DLU,FILL:DEFAULT:GROW(1.0),3DLU,CENTER:DEFAULT:NONE");↵
|
6 | CellConstraints cc = new CellConstraints();↵ | | 6 | CellConstraints cc = new CellConstraints();↵
|
7 | jpanel1.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));↵ | | 7 | jpanel1.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));↵
|
8 | jpanel1.setLayout(formlayout1);↵ | | 8 | jpanel1.setLayout(formlayout1);↵
|
|
9 | JLabel jlabel1 = new JLabel();↵ | | 9 | JLabel jlabel1 = new JLabel();↵
|
10 | jlabel1.setText("Columns:");↵ | | 10 | jlabel1.setText("Email Address:");↵
|
11 | jpanel1.add(jlabel1, cc.xy(1, 1));↵ | | 11 | jpanel1.add(jlabel1, cc.xy(1, 1));↵
|
|
12 | JScrollPane scrollPane = new JScrollPane(list);↵ | | 12 | JScrollPane scrollPane = new JScrollPane(list);↵
|
13 | scrollPane.setPreferredSize(new Dimension(250, 200));↵ | | 13 | scrollPane.setPreferredSize(new Dimension(250, 200));↵
|
14 | jpanel1.add(scrollPane, cc.xy(1, 3));↵ | | 14 | jpanel1.add(scrollPane, cc.xy(1, 3));↵
|
|
15 | jpanel1.add(createPanel1(), new CellConstraints(3, 3, 1, 1,↵ | | 15 | jpanel1.add(createEastPanel(), new CellConstraints(3, 3, 1, 1,↵
|
16 | CellConstraints.DEFAULT, CellConstraints.TOP));↵ | | 16 | CellConstraints.DEFAULT, CellConstraints.TOP));↵
|
|
17 | return jpanel1;↵ | | 17 | return jpanel1;↵
|
18 | | | 18 |
|