On Fri, 26 Jun 2026 03:50:18 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). What is the root cause of the scroll bars remaining at their position while the panel inside the scroll pane is painted below the scroll pane? This still looks like a bug in JDK to me: the component inside `ScrollPanel` that extends `Panel` shouldn't be visible outside of the bounds of `ScrollPanel`. You modify the test so that this bug doesn't occur, but it doesn't look right to me. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31687#issuecomment-4907318257
