RFR: 5108458: JTable does not properly layout its content [v14]

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Dec 4 06:29:48 UTC 2023


On Mon, 4 Dec 2023 04:53:12 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Table contents does not follow right-left Orientation when Max width of columns are set. This is due to not considering the offset in `x position` while painting table grid and table cell. The fix handles the offset and adjust the x position for each paint, similar to how header is painted. The fix is applied to both Basic and Synth Look and Feel. 
>> The fix is verified for all Look and Feel manually and test verifies on Metal L&F since automatic test cannot be generalized throughout other Look and Feel. 
>> CI tested is green for regression check and test check.
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review fix

Since this is about getting correct x value depending on column width, can you please confirm it works on table having columns with varying widths?

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

PR Comment: https://git.openjdk.org/jdk/pull/16374#issuecomment-1837918206


More information about the client-libs-dev mailing list