RFR: 8375573: JTable ignores setPreferredWidth during initial layout when AUTO_RESIZE_LAST_COLUMN is enabled [v2]

Tejesh R tr at openjdk.org
Fri Jan 23 04:47:28 UTC 2026


On Fri, 23 Jan 2026 03:27:29 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> test/jdk/javax/swing/JTable/TestJTableColWidth.java line 81:
>> 
>>> 79:                 }
>>> 80:             } finally {
>>> 81:                 if (frame != null) {
>> 
>> Normally we do this inside EDT.
>
> its already under EDT

Ok, I see this is in EDT. But now this one will throw `InvocationTargetException` along with `RuntimeException` ?   I guess it's better to move out the exception handling outside EDT.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29291#discussion_r2719580094


More information about the client-libs-dev mailing list