tmysik commented on code in PR #5758:
URL: https://github.com/apache/netbeans/pull/5758#discussion_r1155056349
##########
php/php.editor/src/org/netbeans/modules/php/editor/actions/FixDuplicateImportStmts.java:
##########
@@ -121,12 +117,10 @@ public void focusLost(FocusEvent arg0) {
// load localized text into widgets:
lblTitle.setText(getBundleString("FixDupImportStmts_IntroLbl"));
//NOI18N
lblHeader.setText(getBundleString("FixDupImportStmts_Header"));
//NOI18N
-
- checkUnusedImports = new JCheckBox();
- Mnemonics.setLocalizedText(checkUnusedImports,
getBundleString("FixDupImportStmts_UnusedImports")); //NOI18N
- bottomPanel.add(checkUnusedImports, BorderLayout.WEST);
- checkUnusedImports.setEnabled(true);
- checkUnusedImports.setSelected(removeUnusedImports);
+ fixImportsBottomPanel = new FixImportsBottomPanel(combos, importData);
Review Comment:
Makes sense. We can more easily change it, if needed (e.g. more checkboxes
to be added).
--
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