1 19 20 package org.netbeans.modules.subversion.ui.copy; 21 22 26 public class SinceOriginPreviewPanel extends javax.swing.JPanel { 27 28 29 public SinceOriginPreviewPanel() { 30 initComponents(); 31 } 32 33 38 private void initComponents() { 40 jLabel1 = new javax.swing.JLabel (); 41 42 jLabel1.setIcon(new javax.swing.ImageIcon (getClass().getResource("/org/netbeans/modules/subversion/resources/icons/sinceorigin.png"))); 43 jLabel1.setLabelFor(localFolderTextField); 44 45 repositoryFolderTextField.setEditable(false); 46 repositoryFolderTextField.setText("jTextField1"); repositoryFolderTextField.getAccessibleContext().setAccessibleName("Repository Folder Location"); 48 repositoryFolderTextField.getAccessibleContext().setAccessibleDescription("Local Copy Location"); 49 50 localFolderTextField.setEditable(false); 51 localFolderTextField.setText("jTextField1"); localFolderTextField.getAccessibleContext().setAccessibleName("Repository Location"); 53 localFolderTextField.getAccessibleContext().setAccessibleDescription("Local Copy Location"); 54 55 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 56 this.setLayout(layout); 57 layout.setHorizontalGroup( 58 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 59 .add(layout.createSequentialGroup() 60 .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 397, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 61 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 62 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 63 .add(localFolderTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 289, Short.MAX_VALUE) 64 .add(repositoryFolderTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 289, Short.MAX_VALUE))) 65 ); 66 layout.setVerticalGroup( 67 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 68 .add(layout.createSequentialGroup() 69 .addContainerGap() 70 .add(repositoryFolderTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 71 .add(43, 43, 43) 72 .add(localFolderTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 73 .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 111, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 74 ); 75 } 77 78 private javax.swing.JLabel jLabel1; 80 final javax.swing.JTextField localFolderTextField = new javax.swing.JTextField (); 81 final javax.swing.JTextField repositoryFolderTextField = new javax.swing.JTextField (); 82 84 } 85 | Popular Tags |