- /**
- * Creates a label whose name and mnemonic are initialized from the given
- * i18n property.
- *
- * @param i18nBasename
- * The i18n property basename of the label
- * @param labelFor
- * The component this label describes
- * @return The created label
- */
- private JLabel createLabel(String i18nBasename, JComponent labelFor) {
- JLabel label = new JLabel(I18n.get(i18nBasename + ".name"));
- label.setDisplayedMnemonic(I18n.getKey(i18nBasename + ".mnemonic"));
- label.setLabelFor(labelFor);
- return label;
- }
-