Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/AddCommentAction.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/AddCommentAction.java	(revision 16557)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/AddCommentAction.java	(revision 16559)
@@ -34,9 +34,9 @@
 
 import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
 import org.openstreetmap.josm.plugins.osb.ConfigKeys;
 import org.openstreetmap.josm.plugins.osb.OsbPlugin;
 import org.openstreetmap.josm.plugins.osb.api.EditAction;
 import org.openstreetmap.josm.plugins.osb.gui.dialogs.TextInputDialog;
-import org.openstreetmap.josm.plugins.osb.gui.historycombobox.HistoryChangedListener;
 import org.openstreetmap.josm.plugins.osb.gui.historycombobox.StringUtils;
 
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/CloseIssueAction.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/CloseIssueAction.java	(revision 16557)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/CloseIssueAction.java	(revision 16559)
@@ -34,4 +34,5 @@
 
 import org.openstreetmap.josm.Main;
+import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
 import org.openstreetmap.josm.plugins.osb.ConfigKeys;
 import org.openstreetmap.josm.plugins.osb.OsbPlugin;
@@ -39,5 +40,4 @@
 import org.openstreetmap.josm.plugins.osb.api.EditAction;
 import org.openstreetmap.josm.plugins.osb.gui.dialogs.TextInputDialog;
-import org.openstreetmap.josm.plugins.osb.gui.historycombobox.HistoryChangedListener;
 import org.openstreetmap.josm.plugins.osb.gui.historycombobox.StringUtils;
 
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/NewIssueAction.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/NewIssueAction.java	(revision 16557)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/action/NewIssueAction.java	(revision 16559)
@@ -42,9 +42,9 @@
 import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.data.osm.Node;
+import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
 import org.openstreetmap.josm.plugins.osb.ConfigKeys;
 import org.openstreetmap.josm.plugins.osb.OsbPlugin;
 import org.openstreetmap.josm.plugins.osb.api.NewAction;
 import org.openstreetmap.josm.plugins.osb.gui.dialogs.TextInputDialog;
-import org.openstreetmap.josm.plugins.osb.gui.historycombobox.HistoryChangedListener;
 import org.openstreetmap.josm.plugins.osb.gui.historycombobox.StringUtils;
 
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/dialogs/TextInputDialog.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/dialogs/TextInputDialog.java	(revision 16557)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/dialogs/TextInputDialog.java	(revision 16559)
@@ -50,6 +50,6 @@
 import javax.swing.SwingUtilities;
 
-import org.openstreetmap.josm.plugins.osb.gui.historycombobox.HistoryChangedListener;
-import org.openstreetmap.josm.plugins.osb.gui.historycombobox.SuggestingJHistoryComboBox;
+import org.openstreetmap.josm.gui.historycombobox.HistoryChangedListener;
+import org.openstreetmap.josm.gui.historycombobox.SuggestingJHistoryComboBox;
 
 /**
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/ComboBoxHistory.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/ComboBoxHistory.java	(revision 16557)
+++ 	(revision )
@@ -1,130 +1,0 @@
-/* Copyright (c) 2008, Henrik Niehaus
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *    this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice, 
- *    this list of conditions and the following disclaimer in the documentation 
- *    and/or other materials provided with the distribution.
- * 3. Neither the name of the project nor the names of its 
- *    contributors may be used to endorse or promote products derived from this 
- *    software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.openstreetmap.josm.plugins.osb.gui.historycombobox;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Iterator;
-import java.util.List;
-
-import javax.swing.DefaultComboBoxModel;
-
-public class ComboBoxHistory extends DefaultComboBoxModel implements Iterable<String> {
-
-	private int maxSize = 10;
-	
-	private List<HistoryChangedListener> listeners = new ArrayList<HistoryChangedListener>();
-	
-	public ComboBoxHistory(int size) {
-		maxSize = size;
-	}
-	
-	/**
-	 * Adds or moves an element to the top of the history
-	 */
-	public void addElement(Object o) {
-		String newEntry = (String)o;
-		
-		// if history contains this object already, delete it,
-		// so that it looks like a move to the top
-		for (int i = 0; i < getSize(); i++) {
-			String oldEntry = (String) getElementAt(i);
-			if(oldEntry.equals(newEntry)) {
-				removeElementAt(i);
-			}
-		}
-		
-		// insert element at the top
-		insertElementAt(o, 0);
-		
-		// remove an element, if the history gets too large
-		if(getSize()> maxSize) {
-			removeElementAt(getSize()-1);
-		}
-		
-		// set selected item to the one just added
-		setSelectedItem(o);
-		
-		fireHistoryChanged();
-	}
-	
-	public Iterator<String> iterator() {
-		return new Iterator<String>() {
-
-			private int position = -1;
-			
-			public void remove() {
-				removeElementAt(position);
-			}
-
-			public boolean hasNext() {
-				if(position < getSize()-1 && getSize()>0) {
-					return true;
-				}
-				return false;
-			}
-
-			public String next() {
-				position++;
-				return getElementAt(position).toString();
-			}
-			
-		};
-	}
-
-	public void setItems(List<String> items) {
-	    removeAllElements();
-	    Collections.reverse(items);
-	    for (String item : items) {
-            addElement(item);
-        }
-	    Collections.reverse(items);
-	}
-	
-    public List<String> asList() {
-        List<String> list = new ArrayList<String>(maxSize);
-        for (String item : this) {
-            list.add(item);
-        }
-        return list;
-    }
-    
-    public void addHistoryChangedListener(HistoryChangedListener l) {
-        listeners.add(l);
-    }
-    
-    public void removeHistoryChangedListener(HistoryChangedListener l) {
-        listeners.remove(l);
-    }
-    
-    private void fireHistoryChanged() {
-        for (HistoryChangedListener l : listeners) {
-            l.historyChanged(asList());
-        }
-    }
-}
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/EventConsumingPlainDocument.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/EventConsumingPlainDocument.java	(revision 16557)
+++ 	(revision )
@@ -1,74 +1,0 @@
-/* Copyright (c) 2008, Henrik Niehaus
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *    this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice, 
- *    this list of conditions and the following disclaimer in the documentation 
- *    and/or other materials provided with the distribution.
- * 3. Neither the name of the project nor the names of its 
- *    contributors may be used to endorse or promote products derived from this 
- *    software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.openstreetmap.josm.plugins.osb.gui.historycombobox;
-
-import javax.swing.event.DocumentEvent;
-import javax.swing.event.UndoableEditEvent;
-import javax.swing.text.PlainDocument;
-
-public class EventConsumingPlainDocument extends PlainDocument {
-	private boolean consumeEvents;
-
-	public boolean isConsumeEvents() {
-		return consumeEvents;
-	}
-
-	public void setConsumeEvents(boolean consumeEvents) {
-		this.consumeEvents = consumeEvents;
-	}
-
-	@Override
-	protected void fireChangedUpdate(DocumentEvent e) {
-		if(!consumeEvents) {
-			super.fireChangedUpdate(e);
-		}
-	}
-
-	@Override
-	protected void fireInsertUpdate(DocumentEvent e) {
-		if(!consumeEvents) {
-			super.fireInsertUpdate(e);
-		}
-	}
-
-	@Override
-	protected void fireRemoveUpdate(DocumentEvent e) {
-		if(!consumeEvents) {
-			super.fireRemoveUpdate(e);
-		}
-	}
-
-	@Override
-	protected void fireUndoableEditUpdate(UndoableEditEvent e) {
-		if(!consumeEvents) {
-			super.fireUndoableEditUpdate(e);
-		}
-	}
-	
-	
-}
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/HistoryChangedListener.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/HistoryChangedListener.java	(revision 16557)
+++ 	(revision )
@@ -1,34 +1,0 @@
-/* Copyright (c) 2008, Henrik Niehaus
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *    this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice, 
- *    this list of conditions and the following disclaimer in the documentation 
- *    and/or other materials provided with the distribution.
- * 3. Neither the name of the project nor the names of its 
- *    contributors may be used to endorse or promote products derived from this 
- *    software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.openstreetmap.josm.plugins.osb.gui.historycombobox;
-
-import java.util.List;
-
-public interface HistoryChangedListener {
-    public void historyChanged(List<String> history);
-}
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/JHistoryComboBox.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/JHistoryComboBox.java	(revision 16557)
+++ 	(revision )
@@ -1,93 +1,0 @@
-/* Copyright (c) 2008, Henrik Niehaus
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *    this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice, 
- *    this list of conditions and the following disclaimer in the documentation 
- *    and/or other materials provided with the distribution.
- * 3. Neither the name of the project nor the names of its 
- *    contributors may be used to endorse or promote products derived from this 
- *    software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.openstreetmap.josm.plugins.osb.gui.historycombobox;
-
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.util.List;
-
-import javax.swing.JComboBox;
-
-/**
- * Extends the standard JComboBox with a history. Works with Strings only. 
- * @author henni
- *
- */
-public class JHistoryComboBox extends JComboBox implements ActionListener {
-
-    protected ComboBoxHistory model;
-    
-    /**
-     * Default constructor for GUI editors. Don't use this!!!
-     */
-    public JHistoryComboBox() {}
-    
-    /**
-     * @param history the history as a list of strings
-     */
-    public JHistoryComboBox(List<String> history) {
-        model = new ComboBoxHistory(15);
-        setModel(model);
-        getEditor().addActionListener(this);
-        setEditable(true);
-        setHistory(history);
-    }
-    
-    public void actionPerformed(ActionEvent e) {
-        addCurrentItemToHistory();
-    }
-
-    public void addCurrentItemToHistory() {
-        String regex = (String)getEditor().getItem();
-        model.addElement(regex);
-    }
-    
-    public void setText(String text) {
-    	getEditor().setItem(text);
-    }
-    
-    public String getText() {
-    	return getEditor().getItem().toString();
-    }
-    
-    public void addHistoryChangedListener(HistoryChangedListener l) {
-        model.addHistoryChangedListener(l);
-    }
-    
-    public void removeHistoryChangedListener(HistoryChangedListener l) {
-        model.removeHistoryChangedListener(l);
-    }
-    
-    public void setHistory(List<String> history) {
-        model.setItems(history);
-    }
-    
-    public List<String> getHistory() {
-        return model.asList();
-    }
-}
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/SuggestingJHistoryComboBox.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/SuggestingJHistoryComboBox.java	(revision 16557)
+++ 	(revision )
@@ -1,128 +1,0 @@
-/* Copyright (c) 2008, Henrik Niehaus
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *    this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice, 
- *    this list of conditions and the following disclaimer in the documentation 
- *    and/or other materials provided with the distribution.
- * 3. Neither the name of the project nor the names of its 
- *    contributors may be used to endorse or promote products derived from this 
- *    software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.openstreetmap.josm.plugins.osb.gui.historycombobox;
-
-import java.awt.event.ActionEvent;
-import java.awt.event.KeyEvent;
-import java.awt.event.KeyListener;
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.swing.JTextField;
-import javax.swing.text.AbstractDocument;
-import javax.swing.text.AttributeSet;
-import javax.swing.text.BadLocationException;
-import javax.swing.text.DocumentFilter;
-import javax.swing.text.JTextComponent;
-
-public class SuggestingJHistoryComboBox extends JHistoryComboBox implements KeyListener {
-
-	private EventConsumingPlainDocument doc = new EventConsumingPlainDocument();
-	
-    public SuggestingJHistoryComboBox(List<String> history) {
-        super(history);
-
-        // add keylistener for ctrl + space
-        getEditor().getEditorComponent().addKeyListener(this);
-        
-        // add specialized document, which can consume events, which are
-        // produced by the suggestion
-        ((JTextComponent)getEditor().getEditorComponent()).setDocument(doc);
-        
-        // add DocumentFilter to trigger suggestion
-        JTextField editor = (JTextField) getEditor().getEditorComponent();
-        final AbstractDocument doc = (AbstractDocument) editor.getDocument();
-        doc.setDocumentFilter(new DocumentFilter() {
-			@Override
-			public void insertString(FilterBypass fb, int offset,
-					String string, AttributeSet attr)
-					throws BadLocationException {
-				super.insertString(fb, offset, string, attr);
-				if(doc.getLength() > 0) {
-					suggest();
-				}
-			}
-
-			@Override
-			public void replace(FilterBypass fb, int offset, int length,
-					String text, AttributeSet attrs)
-					throws BadLocationException {
-				super.replace(fb, offset, length, text, attrs);
-				if(doc.getLength() > 0) {
-					suggest();
-				}
-			}
-        });
-    }
-
-    public SuggestingJHistoryComboBox() {
-        this(new ArrayList<String>());
-    }
-
-    @Override
-    public void actionPerformed(ActionEvent e) {
-        if(e.getSource() instanceof JTextField) {
-            JTextField textField = (JTextField) e.getSource();
-    
-            // if the ActionCommand equals SUGGEST, the user confirms a suggestion
-            if("SUGGEST".equals(e.getActionCommand())) {
-                textField.setSelectionStart(textField.getText().length());
-                textField.setSelectionEnd(textField.getText().length());
-                textField.setActionCommand("");
-            } else { // the user has finished the input
-                super.actionPerformed(e);
-            }
-        }
-    }
-
-    private void suggest() {
-		JTextField textField = (JTextField) getEditor().getEditorComponent();
-		String text = textField.getText();
-
-		// suggest text
-		for (String suggestion : super.model) {
-			if (suggestion.startsWith(text)) {
-				textField.setActionCommand("SUGGEST");
-				doc.setConsumeEvents(true);
-				textField.setText(suggestion);
-				textField.setSelectionStart(text.length());
-				textField.setSelectionEnd(textField.getText().length());
-				doc.setConsumeEvents(false);
-				break;
-			}
-		}
-	}
-    
-    public void keyReleased(KeyEvent e) {
-    	if(e.getKeyCode() == KeyEvent.VK_SPACE && e.isControlDown()) {
-        	suggest();
-        } 
-    }
-    public void keyPressed(KeyEvent e) {}
-    public void keyTyped(KeyEvent e) {}
-}
Index: applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/SuggestionListener.java
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/historycombobox/SuggestionListener.java	(revision 16557)
+++ 	(revision )
@@ -1,37 +1,0 @@
-/* Copyright (c) 2008, Henrik Niehaus
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *    this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice, 
- *    this list of conditions and the following disclaimer in the documentation 
- *    and/or other materials provided with the distribution.
- * 3. Neither the name of the project nor the names of its 
- *    contributors may be used to endorse or promote products derived from this 
- *    software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.openstreetmap.josm.plugins.osb.gui.historycombobox;
-
-public interface SuggestionListener {
-
-	/**
-	 * Invoked, if an attempt to suggest text has been made
-	 * @param suggestion The suggested text or null if no suggestion could be found
-	 */
-	public void suggested(String suggestion);
-}
