posted 14 years ago
Hey,
I have a JComboBox in a JTable cell, that when you click on it or type on it, it lets you select / edit the contents.
I have a cell with JTextField works very similar and i use, a focus listener that uses textField.selectAll().
Both classes extend DefaultCellEditor.
I have tried to put a actionListener on the Combo box, and it gets called, and some code to try and make the selection highlighted, but it does nothing, it just gives an editable field, with the drop down options below... i need the editable field highlighted, any ideas?