On Wed, 29 Jul 2026 10:24:28 GMT, Alexey Ivanov <[email protected]> wrote:

>> I rechecked the current hard-coded frame size with setResizable(false), and 
>> it looks fine. I do not see the scrollable panel contents showing below the 
>> horizontal scrollbar
>
> This is still a concern. I ran this test on Windows with High DPI display, 
> and the horizontal scroll bar at the bottom is clipped. It's accessible, but 
> the tester has to be very precise.
> 
> You probably want to add larger margins, or calculate the frame height 
> (preferably use `pack` and set preferred size for the panel), or increase the 
> frame height to ensure there's “white space” at the bottom so that the 
> horizontal scroll bar always fits into the window.

<img width="1218" height="565" alt="Screenshot of the Panel Repaint Test frame 
where the horizontal scroll bar is partially clipped on Windows with 200% 
scale" 
src="https://github.com/user-attachments/assets/950e9fb7-7de6-4e53-885a-ca852f57b8f1";
 />

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31687#discussion_r3674012162

Reply via email to