Integrated: 4466930: JTable.selectAll boundary handling

Prasanta Sadhukhan psadhukhan at openjdk.org
Thu Mar 20 09:32:16 UTC 2025


On Thu, 13 Mar 2025 08:17:15 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> JTable.selectAll doesn't do anything if there are no rows or no columns. 
> But it should still select all columns if there are no rows and the other way round. 
> It is seen that isColumnSelected() will return false for all columns after calling selectAll() if there happened to be no rows.
> 
> Fix is made to select all columns even if there are no rows and similarly for rows if there are no columns.

This pull request has now been integrated.

Changeset: 96305e09
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/96305e0953a2a3b41bc32b1c584a1a29901a37fd
Stats:     161 lines in 2 files changed: 132 ins; 13 del; 16 mod

4466930: JTable.selectAll boundary handling

Reviewed-by: abhiscxk, tr

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

PR: https://git.openjdk.org/jdk/pull/24025


More information about the client-libs-dev mailing list