RFR: 6465404: some problems in CellEditor related API docs [v6]

Tejesh R duke at openjdk.java.net
Wed Dec 22 11:17:16 UTC 2021


On Tue, 21 Dec 2021 21:21:01 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> I agree it probably referred to components which can be used as an editor. `DefaultEditorCell` supports three components: `JCheckBox`, `JComboBox`, and `JTextField`.
>> 
>>> But the objects implemented TableCellEditor interface can be used to modify the values stored as the JComboBox/JTree when the user edits the cell of the table.
>> 
>> And this just adds to the confusion rather than clarifies the purpose of the interface.
>
> In fact, the `CellEditor` interface describes how the interface can be used for `JTable` and `JTree` and gives `JTextField`, `JCheckBox`, `JComboBox` as the examples of specific editors.

Hi, I have updated the PR as per latest discussions and Input, any other suggestions or Inputs......?

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

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



More information about the client-libs-dev mailing list