1 19 24 25 package org.netbeans.modules.subversion.ui.relocate; 26 27 import javax.swing.JTextField ; 28 29 33 public class RelocatePanel extends javax.swing.JPanel { 34 35 36 public RelocatePanel() { 37 initComponents(); 38 } 39 40 45 private void initComponents() { 47 48 jLabel1 = new javax.swing.JLabel (); 49 tfWorkingCopy = new javax.swing.JTextField (); 50 jLabel2 = new javax.swing.JLabel (); 51 tfCurrentURL = new javax.swing.JTextField (); 52 jLabel3 = new javax.swing.JLabel (); 53 tfNewURL = new javax.swing.JTextField (); 54 55 org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(RelocatePanel.class, "RelocatePanel.jLabel1.text")); 57 tfWorkingCopy.setEditable(false); 58 59 org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(RelocatePanel.class, "RelocatePanel.jLabel2.text")); 61 tfCurrentURL.setEditable(false); 62 63 org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(RelocatePanel.class, "RelocatePanel.jLabel3.text")); 65 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 66 this.setLayout(layout); 67 layout.setHorizontalGroup( 68 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 69 .add(layout.createSequentialGroup() 70 .addContainerGap() 71 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 72 .add(jLabel1) 73 .add(jLabel2) 74 .add(jLabel3)) 75 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 76 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 77 .add(tfCurrentURL, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE) 78 .add(tfWorkingCopy, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE) 79 .add(tfNewURL, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE)) 80 .addContainerGap()) 81 ); 82 layout.setVerticalGroup( 83 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 84 .add(layout.createSequentialGroup() 85 .addContainerGap() 86 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 87 .add(jLabel1) 88 .add(tfWorkingCopy, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 89 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 90 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 91 .add(jLabel2) 92 .add(tfCurrentURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 93 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 94 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 95 .add(jLabel3) 96 .add(tfNewURL, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 97 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 98 ); 99 } 101 102 private javax.swing.JLabel jLabel1; 104 private javax.swing.JLabel jLabel2; 105 private javax.swing.JLabel jLabel3; 106 private javax.swing.JTextField tfCurrentURL; 107 private javax.swing.JTextField tfNewURL; 108 private javax.swing.JTextField tfWorkingCopy; 109 111 public JTextField getWorkingCopy() { 112 return tfWorkingCopy; 113 } 114 115 public JTextField getCurrentURL() { 116 return tfCurrentURL; 117 } 118 119 public JTextField getNewURL() { 120 return tfNewURL; 121 } 122 } 123 | Popular Tags |