OSDN Git Service

MOD: enum is researved word. It was changed to mailList.
[mdc/BetaProject.git] / src / org / jent / checksmtp / SetupFrame_AboutBoxPanel1.java
1 package org.jent.checksmtp;
2
3 import java.awt.GridBagConstraints;
4 import java.awt.GridBagLayout;
5 import java.awt.Insets;
6
7 import javax.swing.BorderFactory;
8 import javax.swing.JLabel;
9 import javax.swing.JPanel;
10 import javax.swing.border.Border;
11
12
13 public class SetupFrame_AboutBoxPanel1 extends JPanel {
14     private Border border = BorderFactory.createEtchedBorder();
15     private GridBagLayout layoutMain = new GridBagLayout();
16     private JLabel labelCompany = new JLabel();
17     private JLabel labelCopyright = new JLabel();
18     private JLabel labelAuthor = new JLabel();
19     private JLabel labelTitle = new JLabel();
20
21     public SetupFrame_AboutBoxPanel1() {
22         try {
23             jbInit();
24         } catch (Exception e) {
25             e.printStackTrace();
26         }
27     }
28
29     private void jbInit() throws Exception {
30         this.setLayout(layoutMain);
31         this.setBorder(border);
32         labelTitle.setText("Title");
33         labelAuthor.setText("Author");
34         labelCopyright.setText("Copyright");
35         labelCompany.setText("Company");
36         this.add(labelTitle,
37             new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
38                 GridBagConstraints.WEST, GridBagConstraints.NONE,
39                 new Insets(5, 15, 0, 15), 0, 0));
40         this.add(labelAuthor,
41             new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0,
42                 GridBagConstraints.WEST, GridBagConstraints.NONE,
43                 new Insets(0, 15, 0, 15), 0, 0));
44         this.add(labelCopyright,
45             new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0,
46                 GridBagConstraints.WEST, GridBagConstraints.NONE,
47                 new Insets(0, 15, 0, 15), 0, 0));
48         this.add(labelCompany,
49             new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0,
50                 GridBagConstraints.WEST, GridBagConstraints.NONE,
51                 new Insets(0, 15, 5, 15), 0, 0));
52     }
53 }