KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > ddloaders > multiview > ui > MoveClassForm


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.j2ee.ddloaders.multiview.ui;
21
22 import javax.swing.*;
23
24 /**
25  * @author pfiala
26  */

27 public class MoveClassForm extends javax.swing.JPanel JavaDoc {
28
29     /**
30      * Creates new form MoveClassForm
31      */

32     public MoveClassForm() {
33         initComponents();
34     }
35
36     /**
37      * This method is called from within the constructor to
38      * initialize the form.
39      * WARNING: Do NOT modify this code. The content of this method is
40      * always regenerated by the Form Editor.
41      */

42     private void initComponents() {//GEN-BEGIN:initComponents
43
java.awt.GridBagConstraints JavaDoc gridBagConstraints;
44
45         moveLabel = new javax.swing.JLabel JavaDoc();
46         jLabel2 = new javax.swing.JLabel JavaDoc();
47         packageComboBox = new javax.swing.JComboBox JavaDoc();
48         spacerLabel = new javax.swing.JLabel JavaDoc();
49
50         setLayout(new java.awt.GridBagLayout JavaDoc());
51
52         moveLabel.setText(" ");
53         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
54         gridBagConstraints.gridx = 0;
55         gridBagConstraints.gridy = 0;
56         gridBagConstraints.gridwidth = 2;
57         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
58         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
59         gridBagConstraints.weightx = 1.0;
60         gridBagConstraints.insets = new java.awt.Insets JavaDoc(5, 5, 0, 5);
61         add(moveLabel, gridBagConstraints);
62
63         jLabel2.setText(org.openide.util.NbBundle.getMessage(MoveClassForm.class, "LBL_ToPackage"));
64         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
65         gridBagConstraints.gridx = 0;
66         gridBagConstraints.gridy = 1;
67         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
68         gridBagConstraints.insets = new java.awt.Insets JavaDoc(5, 5, 0, 5);
69         add(jLabel2, gridBagConstraints);
70
71         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
72         gridBagConstraints.gridx = 1;
73         gridBagConstraints.gridy = 1;
74         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
75         gridBagConstraints.weightx = 1.0;
76         gridBagConstraints.insets = new java.awt.Insets JavaDoc(5, 5, 0, 5);
77         add(packageComboBox, gridBagConstraints);
78
79         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
80         gridBagConstraints.gridx = 1;
81         gridBagConstraints.gridy = 2;
82         gridBagConstraints.weighty = 1.0;
83         add(spacerLabel, gridBagConstraints);
84
85     }//GEN-END:initComponents
86

87
88     // Variables declaration - do not modify//GEN-BEGIN:variables
89
private javax.swing.JLabel JavaDoc jLabel2;
90     private javax.swing.JLabel JavaDoc moveLabel;
91     private javax.swing.JComboBox JavaDoc packageComboBox;
92     private javax.swing.JLabel JavaDoc spacerLabel;
93     // End of variables declaration//GEN-END:variables
94

95     public JLabel getMoveLabel() {
96         return moveLabel;
97     }
98
99     public JComboBox getPackageComboBox() {
100         return packageComboBox;
101     }
102 }
103
Popular Tags