Lines 65-70
Link Here
|
65 |
public void initValues() { |
65 |
public void initValues() { |
66 |
|
66 |
|
67 |
vps.register( jTextFieldDisplayName, J2SEProjectProperties.J2SE_PROJECT_NAME ); |
67 |
vps.register( jTextFieldDisplayName, J2SEProjectProperties.J2SE_PROJECT_NAME ); |
|
|
68 |
vps.register( jTextFieldEncoding, J2SEProjectProperties.FILES_ENCODING ); |
68 |
vps.register( jCheckBoxReqPrj, J2SEProjectProperties.NO_DEPENDENCIES ); |
69 |
vps.register( jCheckBoxReqPrj, J2SEProjectProperties.NO_DEPENDENCIES ); |
69 |
initPlatforms(vps); |
70 |
initPlatforms(vps); |
70 |
|
71 |
|
Lines 105-110
Link Here
|
105 |
jLabelTarget = new javax.swing.JLabel(); |
106 |
jLabelTarget = new javax.swing.JLabel(); |
106 |
jComboBoxTarget = new javax.swing.JComboBox(); |
107 |
jComboBoxTarget = new javax.swing.JComboBox(); |
107 |
jButton1 = new javax.swing.JButton(); |
108 |
jButton1 = new javax.swing.JButton(); |
|
|
109 |
jLabelEncoding = new javax.swing.JLabel(); |
110 |
jTextFieldEncoding = new javax.swing.JTextField(); |
108 |
jLabelReqPrj = new javax.swing.JLabel(); |
111 |
jLabelReqPrj = new javax.swing.JLabel(); |
109 |
jScrollPane1 = new javax.swing.JScrollPane(); |
112 |
jScrollPane1 = new javax.swing.JScrollPane(); |
110 |
jListSubprojects = new javax.swing.JList(); |
113 |
jListSubprojects = new javax.swing.JList(); |
Lines 115-140
Link Here
|
115 |
setBorder(new javax.swing.border.EtchedBorder()); |
118 |
setBorder(new javax.swing.border.EtchedBorder()); |
116 |
jLabelProjectName.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_DisplayName_JLabel")); |
119 |
jLabelProjectName.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_DisplayName_JLabel")); |
117 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
120 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
118 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
|
|
119 |
gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 12); |
121 |
gridBagConstraints.insets = new java.awt.Insets(12, 12, 12, 12); |
|
|
122 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
120 |
add(jLabelProjectName, gridBagConstraints); |
123 |
add(jLabelProjectName, gridBagConstraints); |
121 |
|
124 |
|
122 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
125 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
123 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
126 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
124 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
127 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
125 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
|
|
126 |
gridBagConstraints.insets = new java.awt.Insets(12, 0, 12, 12); |
128 |
gridBagConstraints.insets = new java.awt.Insets(12, 0, 12, 12); |
|
|
129 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
127 |
add(jTextFieldDisplayName, gridBagConstraints); |
130 |
add(jTextFieldDisplayName, gridBagConstraints); |
128 |
|
131 |
|
129 |
jLabelTarget.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_Platform_JLabel")); |
132 |
jLabelTarget.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_Platform_JLabel")); |
130 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
133 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
131 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
|
|
132 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 12); |
134 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 12); |
|
|
135 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
133 |
add(jLabelTarget, gridBagConstraints); |
136 |
add(jLabelTarget, gridBagConstraints); |
134 |
|
137 |
|
135 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
138 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
136 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
|
|
137 |
gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0); |
139 |
gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0); |
|
|
140 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
138 |
add(jComboBoxTarget, gridBagConstraints); |
141 |
add(jComboBoxTarget, gridBagConstraints); |
139 |
|
142 |
|
140 |
jButton1.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_Platform_JButton")); |
143 |
jButton1.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_Platform_JButton")); |
Lines 146-160
Link Here
|
146 |
|
149 |
|
147 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
150 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
148 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
151 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
149 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
|
|
150 |
gridBagConstraints.insets = new java.awt.Insets(0, 6, 12, 12); |
152 |
gridBagConstraints.insets = new java.awt.Insets(0, 6, 12, 12); |
|
|
153 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; |
151 |
add(jButton1, gridBagConstraints); |
154 |
add(jButton1, gridBagConstraints); |
152 |
|
155 |
|
153 |
jLabelReqPrj.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_RequiredProjects_JLabel")); |
156 |
jLabelEncoding.setLabelFor(jTextFieldEncoding); |
|
|
157 |
jLabelEncoding.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/java/j2seproject/ui/customizer/Bundle").getString("LBL_CustomizeGeneral_Encoding_JLabel")); |
158 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
159 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 12); |
160 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
161 |
add(jLabelEncoding, gridBagConstraints); |
162 |
|
154 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
163 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
155 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
164 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
|
|
165 |
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; |
166 |
gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 12); |
156 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
167 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
|
|
168 |
add(jTextFieldEncoding, gridBagConstraints); |
169 |
|
170 |
jLabelReqPrj.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_RequiredProjects_JLabel")); |
171 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
172 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
157 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 2, 12); |
173 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 2, 12); |
|
|
174 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
158 |
add(jLabelReqPrj, gridBagConstraints); |
175 |
add(jLabelReqPrj, gridBagConstraints); |
159 |
|
176 |
|
160 |
jScrollPane1.setViewportView(jListSubprojects); |
177 |
jScrollPane1.setViewportView(jListSubprojects); |
Lines 162-171
Link Here
|
162 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
179 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
163 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
180 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
164 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
181 |
gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; |
|
|
182 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 6, 12); |
165 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
183 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
166 |
gridBagConstraints.weightx = 1.0; |
184 |
gridBagConstraints.weightx = 1.0; |
167 |
gridBagConstraints.weighty = 1.0; |
185 |
gridBagConstraints.weighty = 1.0; |
168 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 6, 12); |
|
|
169 |
add(jScrollPane1, gridBagConstraints); |
186 |
add(jScrollPane1, gridBagConstraints); |
170 |
|
187 |
|
171 |
jCheckBoxReqPrj.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_RequiredProjects_JCheckBox")); |
188 |
jCheckBoxReqPrj.setText(org.openide.util.NbBundle.getMessage(CustomizerGeneral.class, "LBL_CustomizeGeneral_RequiredProjects_JCheckBox")); |
Lines 173-181
Link Here
|
173 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
190 |
gridBagConstraints = new java.awt.GridBagConstraints(); |
174 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
191 |
gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER; |
175 |
gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; |
192 |
gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER; |
|
|
193 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 12); |
176 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
194 |
gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST; |
177 |
gridBagConstraints.weightx = 1.0; |
195 |
gridBagConstraints.weightx = 1.0; |
178 |
gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 12); |
|
|
179 |
add(jCheckBoxReqPrj, gridBagConstraints); |
196 |
add(jCheckBoxReqPrj, gridBagConstraints); |
180 |
|
197 |
|
181 |
}//GEN-END:initComponents |
198 |
}//GEN-END:initComponents |
Lines 190-201
Link Here
|
190 |
private javax.swing.JButton jButton1; |
207 |
private javax.swing.JButton jButton1; |
191 |
private javax.swing.JCheckBox jCheckBoxReqPrj; |
208 |
private javax.swing.JCheckBox jCheckBoxReqPrj; |
192 |
private javax.swing.JComboBox jComboBoxTarget; |
209 |
private javax.swing.JComboBox jComboBoxTarget; |
|
|
210 |
private javax.swing.JLabel jLabelEncoding; |
193 |
private javax.swing.JLabel jLabelProjectName; |
211 |
private javax.swing.JLabel jLabelProjectName; |
194 |
private javax.swing.JLabel jLabelReqPrj; |
212 |
private javax.swing.JLabel jLabelReqPrj; |
195 |
private javax.swing.JLabel jLabelTarget; |
213 |
private javax.swing.JLabel jLabelTarget; |
196 |
private javax.swing.JList jListSubprojects; |
214 |
private javax.swing.JList jListSubprojects; |
197 |
private javax.swing.JScrollPane jScrollPane1; |
215 |
private javax.swing.JScrollPane jScrollPane1; |
198 |
private javax.swing.JTextField jTextFieldDisplayName; |
216 |
private javax.swing.JTextField jTextFieldDisplayName; |
|
|
217 |
private javax.swing.JTextField jTextFieldEncoding; |
199 |
// End of variables declaration//GEN-END:variables |
218 |
// End of variables declaration//GEN-END:variables |
200 |
|
219 |
|
201 |
// Storing methods --------------------------------------------------------- |
220 |
// Storing methods --------------------------------------------------------- |