RFR: 8311031: JTable header border vertical lines are not aligned with data grid lines

Alexey Ivanov aivanov at openjdk.org
Wed Jul 5 12:48:56 UTC 2023


On Wed, 5 Jul 2023 08:39:27 GMT, Tejesh R <tr at openjdk.org> wrote:

> I'm not sure if it is a bug, the gap is because of white lines drawn for each header cell (bottom-left till top-left and then to to-right for each header cell). Kind of shade effect.

I admit I am confused to which part it refers.

I re-checked your after screenshot and it looks fine to me. The shadow is followed by white highlight. There was background colour seen between these two colours in the before-fix screenshot.

There's still a 2-pixel background colour under the highlight. Yet it is present in the before-fix too, so it looks it is designed this way for a smoother 3D shading effect.

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

PR Comment: https://git.openjdk.org/jdk/pull/14766#issuecomment-1621688006



More information about the client-libs-dev mailing list