Allowing TAB character entry into JComboBox

With an editable combo box using the default editor, when a TAB char is entered it is being grabbed by the focus traversal stuff. How can I set this up so the char is entered into the document?
[200 byte] By [erra] at [2007-11-27 5:10:00]
# 1
You could try creating a custom editor that uses a JTextArea as the editor instead of a JTextField.
camickra at 2007-7-12 10:29:57 > top of Java-index,Desktop,Core GUI APIs...
# 2

That may work, but I decided to find the missing tab.

Had to do both

Component c = getTextField();

Set<AWTKeyStroke> set = Collections.emptySet();

c.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, set);

c.setFocusTraversalKeys(KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, set);

and add binding of VK_TAB to

new TextAction("tab") {

public void actionPerformed(ActionEvent e) {

((JTextField)e.getSource()).replaceSelection("\t");

}

}

erra at 2007-7-12 10:29:57 > top of Java-index,Desktop,Core GUI APIs...