1 package org.jent.checksmtp;
3 import java.awt.GridBagConstraints;
4 import java.awt.GridBagLayout;
5 import java.awt.Insets;
7 import javax.swing.BorderFactory;
8 import javax.swing.JLabel;
9 import javax.swing.JPanel;
10 import javax.swing.border.Border;
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();
21 public SetupFrame_AboutBoxPanel1() {
24 } catch (Exception e) {
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");
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));
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));