View Javadoc

1   package com.wickle.Jdiary;
2   
3   import javax.swing.JPanel;
4   import javax.swing.border.BevelBorder;
5   import javax.swing.border.EtchedBorder;
6   import javax.swing.JLabel;
7   import java.awt.BorderLayout;
8   
9   /***
10  * This code was generated using CloudGarden's Jigloo
11  * SWT/Swing GUI Builder, which is free for non-commercial
12  * use. If Jigloo is being used commercially (ie, by a
13  * for-profit company or business) then you should purchase
14  * a license - please visit www.cloudgarden.com for details.
15  */
16  public class AboutDialog extends javax.swing.JDialog {
17  
18  	private JLabel jLabel1;
19  	private JPanel jPanel1;
20  	public AboutDialog() {
21  		initGUI();
22  	}
23  
24  	/***
25  	* Initializes the GUI.
26  	* Auto-generated code - any changes you make will disappear.
27  	*/
28  	public void initGUI(){
29  		try {
30  			preInitGUI();
31  	
32  			jPanel1 = new JPanel();
33  			jLabel1 = new JLabel();
34  	
35  			BorderLayout thisLayout = new BorderLayout();
36  			this.getContentPane().setLayout(thisLayout);
37  			thisLayout.setHgap(0);
38  			thisLayout.setVgap(0);
39  			this.setSize(new java.awt.Dimension(345,262));
40  	
41  			jPanel1.setBorder(new EtchedBorder(BevelBorder.LOWERED, null, null));
42  			this.getContentPane().add(jPanel1, BorderLayout.CENTER);
43  	
44  			jLabel1.setText("jLabel1");
45  			jLabel1.setPreferredSize(new java.awt.Dimension(41,16));
46  			jPanel1.add(jLabel1);
47  	
48  			postInitGUI();
49  		} catch (Exception e) {
50  			e.printStackTrace();
51  		}
52  	}
53  	/*** Add your pre-init code in here 	*/
54  	public void preInitGUI(){
55  	}
56  
57  	/*** Add your post-init code in here 	*/
58  	public void postInitGUI(){
59  	}
60  
61  	/*** Auto-generated main method */
62  	public static void main(String[] args){
63  		showGUI();
64  	}
65  
66  	/***
67  	* This static method creates a new instance of this class and shows
68  	* it inside a new JFrame, (unless it is already a JFrame).
69  	*
70  	* It is a convenience method for showing the GUI, but it can be
71  	* copied and used as a basis for your own code.	*
72  	* It is auto-generated code - the body of this method will be
73  	* re-generated after any changes are made to the GUI.
74  	* However, if you delete this method it will not be re-created.	*/
75  	public static void showGUI(){
76  		try {
77  			AboutDialog inst = new AboutDialog();
78  			inst.setVisible(true);
79  		} catch (Exception e) {
80  			e.printStackTrace();
81  		}
82  	}
83  }