1 19 20 package org.netbeans.modules.versioning.system.cvss.ui.actions.project; 21 22 26 public class ImportPanel extends javax.swing.JPanel { 27 28 29 public ImportPanel() { 30 initComponents(); 31 } 32 33 38 private void initComponents() { 40 java.awt.GridBagConstraints gridBagConstraints; 41 42 setLayout(new java.awt.GridBagLayout ()); 43 44 setName(org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0014")); 45 getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("ACSD_ImportPanel")); 46 org.openide.awt.Mnemonics.setLocalizedText(jLabel4, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1012")); 47 gridBagConstraints = new java.awt.GridBagConstraints (); 48 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 49 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; 50 gridBagConstraints.insets = new java.awt.Insets (0, 0, 3, 0); 51 add(jLabel4, gridBagConstraints); 52 53 jLabel3.setLabelFor(folderTextField); 54 org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1104")); 55 jLabel3.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_FolderToImport")); 56 gridBagConstraints = new java.awt.GridBagConstraints (); 57 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; 58 gridBagConstraints.insets = new java.awt.Insets (3, 0, 3, 3); 59 add(jLabel3, gridBagConstraints); 60 61 gridBagConstraints = new java.awt.GridBagConstraints (); 62 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; 63 gridBagConstraints.insets = new java.awt.Insets (3, 3, 3, 3); 64 add(folderTextField, gridBagConstraints); 65 66 org.openide.awt.Mnemonics.setLocalizedText(folderButton, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1020")); 67 folderButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_BrowseFolder")); 68 gridBagConstraints = new java.awt.GridBagConstraints (); 69 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 70 gridBagConstraints.insets = new java.awt.Insets (3, 3, 3, 0); 71 add(folderButton, gridBagConstraints); 72 73 jLabel1.setLabelFor(commentTextArea); 74 org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0001")); 75 jLabel1.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_ImportMessage")); 76 gridBagConstraints = new java.awt.GridBagConstraints (); 77 gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; 78 gridBagConstraints.insets = new java.awt.Insets (3, 0, 3, 3); 79 add(jLabel1, gridBagConstraints); 80 81 commentTextArea.setColumns(40); 82 commentTextArea.setRows(8); 83 commentScrollPane.setViewportView(commentTextArea); 84 85 gridBagConstraints = new java.awt.GridBagConstraints (); 86 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 87 gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; 88 gridBagConstraints.weightx = 1.0; 89 gridBagConstraints.weighty = 1.0; 90 gridBagConstraints.insets = new java.awt.Insets (3, 3, 3, 0); 91 add(commentScrollPane, gridBagConstraints); 92 93 org.openide.awt.Mnemonics.setLocalizedText(jLabel5, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0013")); 94 gridBagConstraints = new java.awt.GridBagConstraints (); 95 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 96 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; 97 gridBagConstraints.insets = new java.awt.Insets (3, 0, 3, 0); 98 add(jLabel5, gridBagConstraints); 99 100 jLabel2.setLabelFor(moduleTextField); 101 org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(ImportPanel.class, "Bk0002")); 102 jLabel2.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_RepositoryFolder")); 103 gridBagConstraints = new java.awt.GridBagConstraints (); 104 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; 105 gridBagConstraints.insets = new java.awt.Insets (3, 0, 3, 3); 106 add(jLabel2, gridBagConstraints); 107 108 moduleTextField.setColumns(40); 109 gridBagConstraints = new java.awt.GridBagConstraints (); 110 gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; 111 gridBagConstraints.weightx = 1.0; 112 gridBagConstraints.insets = new java.awt.Insets (3, 3, 3, 3); 113 add(moduleTextField, gridBagConstraints); 114 115 org.openide.awt.Mnemonics.setLocalizedText(moduleButton, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1016")); 116 moduleButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_BrowseRepository")); 117 gridBagConstraints = new java.awt.GridBagConstraints (); 118 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 119 gridBagConstraints.insets = new java.awt.Insets (3, 3, 3, 0); 120 add(moduleButton, gridBagConstraints); 121 122 checkoutCheckBox.setSelected(true); 123 org.openide.awt.Mnemonics.setLocalizedText(checkoutCheckBox, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0011")); 124 checkoutCheckBox.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_Checkout")); 125 checkoutCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); 126 checkoutCheckBox.setMargin(new java.awt.Insets (0, 0, 0, 0)); 127 gridBagConstraints = new java.awt.GridBagConstraints (); 128 gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; 129 gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; 130 gridBagConstraints.insets = new java.awt.Insets (3, 0, 3, 0); 131 add(checkoutCheckBox, gridBagConstraints); 132 133 } 134 136 137 final javax.swing.JCheckBox checkoutCheckBox = new javax.swing.JCheckBox (); 139 final javax.swing.JScrollPane commentScrollPane = new javax.swing.JScrollPane (); 140 final org.netbeans.modules.versioning.system.cvss.ui.components.KTextArea commentTextArea = new org.netbeans.modules.versioning.system.cvss.ui.components.KTextArea(); 141 final javax.swing.JButton folderButton = new javax.swing.JButton (); 142 final javax.swing.JTextField folderTextField = new javax.swing.JTextField (); 143 final javax.swing.JLabel jLabel1 = new javax.swing.JLabel (); 144 final javax.swing.JLabel jLabel2 = new javax.swing.JLabel (); 145 final javax.swing.JLabel jLabel3 = new javax.swing.JLabel (); 146 final javax.swing.JLabel jLabel4 = new javax.swing.JLabel (); 147 final javax.swing.JLabel jLabel5 = new javax.swing.JLabel (); 148 final javax.swing.JButton moduleButton = new javax.swing.JButton (); 149 final javax.swing.JTextField moduleTextField = new javax.swing.JTextField (); 150 152 } 153 | Popular Tags |