public final class Scrolling extends Object
Modifier and Type | Method and Description |
---|---|
static void |
scrollToVisible(Robot robot,
JComponent c)
Scrolls a
JComponent into view within a container. |
public static void scrollToVisible(@Nonnull Robot robot, @Nonnull JComponent c)
JComponent
into view within a container.robot
- simulates user input.c
- the given JComponent
.Copyright © 2014–2019 AssertJ. All rights reserved.