Changeset 5886 in josm for trunk/src/org/openstreetmap/josm/actions/search
- Timestamp:
- 2013-04-19T22:21:57+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r5813 r5886 30 30 import javax.swing.JPanel; 31 31 import javax.swing.JRadioButton; 32 import javax.swing.JTextField;33 32 import javax.swing.text.BadLocationException; 34 33 … … 51 50 import org.openstreetmap.josm.tools.Shortcut; 52 51 import org.openstreetmap.josm.tools.Utils; 52 import org.openstreetmap.josm.gui.widgets.JosmTextField; 53 53 54 54 55 public class SearchAction extends JosmAction implements ParameterizedAction { … … 195 196 public void mouseClicked(MouseEvent e) { 196 197 try { 197 J TextField tf = (JTextField) hcb.getEditor().getEditorComponent();198 JosmTextField tf = (JosmTextField) hcb.getEditor().getEditorComponent(); 198 199 tf.getDocument().insertString(tf.getCaretPosition(), " " + insertText, null); 199 200 } catch (BadLocationException ex) {
Note:
See TracChangeset
for help on using the changeset viewer.