Hello,

Could you please review the fix for jdk9:
  bug: https://bugs.openjdk.java.net/browse/JDK-8032878
  webrev: http://cr.openjdk.java.net/~dmarkov/8032878/jdk9/webrev.00/

Problem description:
If editable JComboBox is used as cell editor in JTable, its value does not change when user types keys.

If JTable.setSurrendersFocusOnKeystroke(true) is in effect, then JComboBox (usually) loses the first key press before it gets the input focus.


Fix:
If JComboBox is table cell editor and is editable, it will forward TextActions to its editor component. The action binding is obtained from InputMap of the editor component with WHEN_FOCUSED condition, as if the editor had focus.


Thanks,
Alexey.

Reply via email to