RFR: 4466930: JTable.selectAll boundary handling [v4]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Mar 19 13:49:29 UTC 2025


On Wed, 19 Mar 2025 08:52:34 GMT, Tejesh R <tr at openjdk.org> wrote:

>> In SwingSet2 JTable demo before the fix also, you can see only "rowSelection" is enabled, but selectAll selects all cells in the table so selectAll overrides that setting..
>
> Ok.

Added columnSelection check..SwingSet2 selectAll selection can be viewed as selecting all rows which can be perceived as selecting all cells, so to be safe added the check..

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24025#discussion_r2003371971


More information about the client-libs-dev mailing list