1 19 20 package org.netbeans.modules.subversion.ui.wizards.importstep; 21 22 import org.netbeans.modules.subversion.ui.wizards.*; 23 24 28 public class ImportPanel extends javax.swing.JPanel { 29 30 31 public ImportPanel() { 32 initComponents(); 33 } 34 35 40 private void initComponents() { 42 jLabel1 = new javax.swing.JLabel (); 43 jScrollPane1 = new javax.swing.JScrollPane (); 44 jLabel4 = new javax.swing.JLabel (); 45 jLabel2 = new javax.swing.JLabel (); 46 47 setName(org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Name")); jLabel1.setLabelFor(messageTextArea); 49 org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Message")); 51 messageTextArea.setColumns(20); 52 messageTextArea.setRows(5); 53 jScrollPane1.setViewportView(messageTextArea); 54 messageTextArea.getAccessibleContext().setAccessibleName("Specify the Message"); 55 messageTextArea.getAccessibleContext().setAccessibleDescription("Specify the Message"); 56 57 jLabel4.setLabelFor(repositoryPathTextField); 58 org.openide.awt.Mnemonics.setLocalizedText(jLabel4, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Folder")); jLabel4.getAccessibleContext().setAccessibleDescription("Repository Folder"); 60 61 org.openide.awt.Mnemonics.setLocalizedText(browseRepositoryButton, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Browse")); browseRepositoryButton.getAccessibleContext().setAccessibleDescription("Browse Repository Folders"); 63 64 org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Hint")); 66 progressPanel.setLayout(new java.awt.BorderLayout ()); 67 68 org.openide.awt.Mnemonics.setLocalizedText(progressLabel, " "); 70 org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); 71 this.setLayout(layout); 72 layout.setHorizontalGroup( 73 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 74 .add(layout.createSequentialGroup() 75 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 76 .add(layout.createSequentialGroup() 77 .add(jLabel4) 78 .add(15, 15, 15) 79 .add(repositoryPathTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 390, Short.MAX_VALUE)) 80 .add(jLabel2) 81 .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 494, Short.MAX_VALUE)) 82 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 83 .add(browseRepositoryButton)) 84 .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 579, Short.MAX_VALUE) 85 .add(progressLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 579, Short.MAX_VALUE) 86 .add(progressPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 579, Short.MAX_VALUE) 87 ); 88 layout.setVerticalGroup( 89 layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) 90 .add(layout.createSequentialGroup() 91 .add(jLabel2) 92 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 93 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) 94 .add(jLabel4) 95 .add(browseRepositoryButton) 96 .add(repositoryPathTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) 97 .add(26, 26, 26) 98 .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 15, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 99 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 100 .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 142, Short.MAX_VALUE) 101 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 102 .add(progressLabel) 103 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) 104 .add(progressPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) 105 .addContainerGap()) 106 ); 107 } 109 110 final javax.swing.JButton browseRepositoryButton = new javax.swing.JButton (); 112 private javax.swing.JLabel jLabel1; 113 private javax.swing.JLabel jLabel2; 114 private javax.swing.JLabel jLabel4; 115 private javax.swing.JScrollPane jScrollPane1; 116 final javax.swing.JTextArea messageTextArea = new javax.swing.JTextArea (); 117 final javax.swing.JLabel progressLabel = new javax.swing.JLabel (); 118 final javax.swing.JPanel progressPanel = new javax.swing.JPanel (); 119 final javax.swing.JTextField repositoryPathTextField = new javax.swing.JTextField (); 120 122 } 123 | Popular Tags |