On Mon, 19 Jan 2026 02:18:06 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> AUTO_RESIZE_LAST_COLUMN handling was done in > [JDK-8234071](https://bugs.openjdk.org/browse/JDK-8234071) but it didn't > honour the preferred width if it is already been set for each column so when > layouting is done, it only sees the `resizingColumn` > is set to AUTO_RESIZE_LAST_COLUMN and adjust only the last column and > distribute width equally to all other column. > > Fix is made to honour the user-set preferred column width even if auto-resize > mode is set to LAST_COLUMN This pull request has now been integrated. Changeset: 55375e98 Author: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.org/jdk/commit/55375e98ae1672badeacaaf2f8b6f2f21ad03437 Stats: 103 lines in 2 files changed: 101 ins; 0 del; 2 mod 8375573: JTable ignores setPreferredWidth during initial layout when AUTO_RESIZE_LAST_COLUMN is enabled Reviewed-by: tr ------------- PR: https://git.openjdk.org/jdk/pull/29291
