asbachb commented on code in PR #6118:
URL: https://github.com/apache/netbeans/pull/6118#discussion_r1241476615
##########
enterprise/web.core/src/org/netbeans/modules/web/wizards/AttrDialog.java:
##########
@@ -91,24 +91,24 @@ private void initComponents() {//GEN-BEGIN:initComponents
jLabel2.setDisplayedMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/modules/web/wizards/Bundle").getString("A11Y_AttrType_mnem").charAt(0));
jLabel2.setLabelFor(jComboBox1);
- jLabel2.setText(org.openide.util.NbBundle.getMessage(AttrDialog.class,
"LBL_AttrType"));
+ jLabel2.setText(org.openide.util.NbBundle.getMessage(AttrDialog.class,
"LBL_AttrType")); // NOI18N
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
gridBagConstraints.insets = new java.awt.Insets(0, 6, 6, 0);
add(jLabel2, gridBagConstraints);
-
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 1;
gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
gridBagConstraints.weightx = 1.0;
gridBagConstraints.insets = new java.awt.Insets(6, 6, 6, 0);
add(jTextField1, gridBagConstraints);
-
jTextField1.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/web/wizards/Bundle").getString("LBL_AttrName"));
+ java.util.ResourceBundle bundle =
java.util.ResourceBundle.getBundle("org/netbeans/modules/web/wizards/Bundle");
// NOI18N
Review Comment:
Actually this code was generated by the NetBeans UI designer. I could
reproduce it on master by:
* Open `AttrDialog`
* Select `jComboBox1`
* Switch to `Code` tab in `Properties`
* Set `Type Parameters` to `String`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists