On Wed, 10 Jul 2024 18:15:11 GMT, Phil Race <p...@openjdk.org> wrote:

> Isn't LAST_COLUMN is meant to be different than specifying a particular 
> column ? Suppose the app specified the resizing column and expects it to be 
> unchanged after changing mode back to a previous mode ? If the app changes 
> the mode would it really expect now a particular column to be specified ? Is 
> a specific test going to be hard ? No one actually routinely manually tests 
> this in SwingSet, and we don't do integration testing any more.

As per the `JTableHeader.setResizingColumn` spec,
`Application code will not use this method explicitly, it is used internally by 
the column sizing mechanism`
so app will/should not specify the resizing column directly so I guess it's 
alright to expect this will not get changed..
I also tested with different autoresize modes and it works fine.

Regarding test, I am not able to think of any automated way to test this, so if 
it can be manual, then I thought it will be as good to test it out through 
SwingSet2 since manual tests also is run only during ATR...

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

PR Comment: https://git.openjdk.org/jdk/pull/20107#issuecomment-2221902306

Reply via email to