Skip to content
Snippets Groups Projects
Commit 1645e466 authored by tjc's avatar tjc
Browse files

use JComboBox in constructor

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@16222 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent ad0a8aa2
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@ import java.awt.event.FocusEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import javax.swing.JComboBox;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.JTextComponent;
......@@ -42,7 +43,7 @@ import org.gmod.schema.cv.CvTerm;
public class AutoCompleteComboDocument extends PlainDocument
{
private static final long serialVersionUID = 1L;
private JExtendedComboBox comboBox;
private JComboBox comboBox;
private JTextComponent editor;
// flag to indicate if setSelectedItem has been called
......@@ -53,7 +54,7 @@ import org.gmod.schema.cv.CvTerm;
boolean hitBackspaceOnSelection;
public AutoCompleteComboDocument(final JExtendedComboBox comboBox)
public AutoCompleteComboDocument(final JComboBox comboBox)
{
this.comboBox = comboBox;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment