Hi, i am using the a plain JComboBox and AutoCompleteDecorator.decorate(), but i found that pressing the backspace key or the del key have not the expected behaviour:
- del key is not valid (a beep sounds)
- backspace seems to work in the editor (the cursor moves back and the text after it became selected), but the popup is not refreshed. Tthis can be solved probably by changing the decorator from:
// don't popup on action keys (cursor movements, etc...)
if (keyEvent.isActionKey()) return;
if (keyEvent.isActionKey() && keyEvent.getKeyCode()!=KeyEvent.VK_BACK_SPACE) return;
But when i tried to customize this behaviour, i found that some methods in the class are private, and in some places it makes reference to some package privated classes (AutoCompleteFocusAdapter...); so i cannot neither extends nor copy&paste the code.
Anyone knows a solution?
Maybe should I create a bug report for this?