On Fri, 10 Jul 2026 05:05:39 GMT, Jyothilekshmi <[email protected]> wrote:

>> Please review this
>> 
>> Platforms tested:
>> Windows 11, macOS, Linux, Ubuntu
>> 
>> Summary:
>> Updated `PanelRepaint` to use `BorderLayout` for the test frame and its main 
>> panel instead of relying on `FlowLayout` with manually assigned bounds.
>> 
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Jyothilekshmi has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Fix PanelRepaint viewport sizing

The test uses a custom ScrollPanel rather than java.awt.ScrollPane, so the test 
itself is responsible for keeping the viewport and scrollbar layout stable. The 
previous  setup mixed FlowLayout with explicit bounds and hardcoded the outer 
frame size.

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

PR Comment: https://git.openjdk.org/jdk/pull/31687#issuecomment-4932184266

Reply via email to