1 | private JPanel createBottomPanel() {↵ | | 1 | private JPanel createBottomPanel() {↵
|
2 | JPanel bottomPanel = new JPanel(new BorderLayout());↵ | | 2 | JPanel bottomPanel = new JPanel(new BorderLayout());↵
|
3 | bottomPanel.setBorder(new SingleSideEtchedBorder(SwingConstants.TOP));↵ | | 3 | bottomPanel.setBorder(new SingleSideEtchedBorder(SwingConstants.TOP));↵
|
|
4 | JPanel buttonPanel = new JPanel(new GridLayout(1, 3, 6, 0));↵ | | 4 | JPanel buttonPanel = new JPanel(new GridLayout(1, 3, 6, 0));↵
|
5 | buttonPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));↵ | | 5 | buttonPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));↵
|
|
6 | closeButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(↵ | | 6 | closeButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵
|
7 | "global", "global", "close"));↵ | | 7 | "global", "close"));↵
|
8 | closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$↵ | | 8 | closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$↵
|
9 | closeButton.addActionListener(this);↵ | | 9 | closeButton.addActionListener(this);↵
|
10 | buttonPanel.add(closeButton);↵ | | 10 | buttonPanel.add(closeButton);↵
|
|
11 | helpButton = new ButtonWithMnemonic(GlobalResourceLoader.getString(↵ | | 11 | helpButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵
|
12 | "global", "global", "help"));↵ | | 12 | "global", "help"));↵
|
|
13 | buttonPanel.add(helpButton);↵ | | 13 | buttonPanel.add(helpButton);↵
|
14 | bottomPanel.add(buttonPanel, BorderLayout.EAST);↵ | | 14 | bottomPanel.add(buttonPanel, BorderLayout.EAST);↵
|
|
15 | return bottomPanel;↵ | | 15 | return bottomPanel;↵
|
16 | | | 16 |
|