On Wed, 8 Dec 2021 13:09:26 GMT, Alexey Ivanov <[email protected]> wrote:

>> I'm not sure this fix is going in the right direction. Isn't the doc saying 
>> that if you want to use one of these components as the cell of a JTable it 
>> should implement this interface ?
>> And the problem with JListBox is that it is actually just called JList ?
>
> @prrace Shall we update `TableCellEditor` Javadoc to _“Adds to CellEditor the 
> extensions necessary to configure an editor in a table.”_ to make it similar 
> to `TreeCellEditor`?

Isn't this is another way around? The doc says that the object implementing 
this interface can be used "as an editor of values for components such as XXX", 
and it does not say that the XXX class should support the CellTableEditor? 
For example, the DefaultCellEditor class can be used as an editor for 
JComboBox/JCheckBox/JTextField.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6608

Reply via email to