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

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Mar 19 07:48:07 UTC 2025


On Wed, 19 Mar 2025 07:28:17 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> [Here](https://github.com/openjdk/jdk/blob/577ede73d8e916bac9050d3bee80d2f18cc833a7/src/java.desktop/share/classes/javax/swing/JTable.java#L5629)
>
> ok..But selectAll selects all cells as per the spec Spec says "Selects all rows, columns, and cells in the table..

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..

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

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


More information about the client-libs-dev mailing list