1 19 package org.netbeans.modules.localhistory.ui.revert; 20 21 25 public class RevertFolderPanel extends javax.swing.JPanel { 26 27 28 public RevertFolderPanel() { 29 initComponents(); 30 } 31 32 37 private void initComponents() { 39 40 jLabel2 = new javax.swing.JLabel (); 41 jLabel3 = new javax.swing.JLabel (); 42 43 dateTextField.setText(org.openide.util.NbBundle.getMessage(RevertFolderPanel.class, "RevertPanel.dateTextField.text")); 45 jLabel2.setText(org.openide.util.NbBundle.getMessage(RevertFolderPanel.class, "RevertPanel.jLabel2.text")); 47 jLabel3.setText(org.openide.util.NbBundle.getMessage(RevertFolderPanel.class, "RevertPanel.jLabel3.text")); 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 } 75 76 final javax.swing.JFormattedTextField dateTextField = new javax.swing.JFormattedTextField (RevertFolderChanges.TS_FORMAT); 78 private javax.swing.JLabel jLabel2; 79 private javax.swing.JLabel jLabel3; 80 82 } 83 | Popular Tags |