KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > localhistory > ui > revert > RevertFolderPanel


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 package org.netbeans.modules.localhistory.ui.revert;
20
21 /**
22  *
23  * @author Tomas Stupka
24  */

25 public class RevertFolderPanel extends javax.swing.JPanel JavaDoc {
26     
27     /** Creates new form RevertPanel */
28     public RevertFolderPanel() {
29         initComponents();
30     }
31     
32     /** This method is called from within the constructor to
33      * initialize the form.
34      * WARNING: Do NOT modify this code. The content of this method is
35      * always regenerated by the Form Editor.
36      */

37     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
38
private void initComponents() {
39
40         jLabel2 = new javax.swing.JLabel JavaDoc();
41         jLabel3 = new javax.swing.JLabel JavaDoc();
42
43         dateTextField.setText(org.openide.util.NbBundle.getMessage(RevertFolderPanel.class, "RevertPanel.dateTextField.text")); // NOI18N
44

45         jLabel2.setText(org.openide.util.NbBundle.getMessage(RevertFolderPanel.class, "RevertPanel.jLabel2.text")); // NOI18N
46

47         jLabel3.setText(org.openide.util.NbBundle.getMessage(RevertFolderPanel.class, "RevertPanel.jLabel3.text")); // NOI18N
48

49         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
50         this.setLayout(layout);
51         layout.setHorizontalGroup(
52             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
53             .add(layout.createSequentialGroup()
54                 .addContainerGap()
55                 .add(jLabel2)
56                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
57                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
58                     .add(jLabel3)
59                     .add(dateTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 163, Short.MAX_VALUE))
60                 .addContainerGap())
61         );
62         layout.setVerticalGroup(
63             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
64             .add(layout.createSequentialGroup()
65                 .add(16, 16, 16)
66                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
67                     .add(jLabel2)
68                     .add(dateTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
69                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
70                 .add(jLabel3)
71                 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
72         );
73     }// </editor-fold>//GEN-END:initComponents
74

75     
76     // Variables declaration - do not modify//GEN-BEGIN:variables
77
final javax.swing.JFormattedTextField JavaDoc dateTextField = new javax.swing.JFormattedTextField JavaDoc(RevertFolderChanges.TS_FORMAT);
78     private javax.swing.JLabel JavaDoc jLabel2;
79     private javax.swing.JLabel JavaDoc jLabel3;
80     // End of variables declaration//GEN-END:variables
81

82 }
83
Popular Tags