Ignore:
Timestamp:
2016-01-16T13:32:46+01:00 (8 years ago)
Author:
simon04
Message:

Refactoring: add JosmComboBox.getEditorComponent, Javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java

    r9271 r9484  
    508508        protected FocusAdapter addFocusAdapter(final AutoCompletionManager autocomplete, final Comparator<AutoCompletionListItem> comparator) {
    509509           // get the combo box' editor component
    510            JTextComponent editor = (JTextComponent) values.getEditor().getEditorComponent();
     510           final JTextComponent editor = values.getEditorComponent();
    511511           // Refresh the values model when focus is gained
    512512           FocusAdapter focus = new FocusAdapter() {
Note: See TracChangeset for help on using the changeset viewer.