Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
azvegint committed Jan 29, 2025
1 parent 368494e commit 65c8a2b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
Expand Down Expand Up @@ -93,7 +94,8 @@ public static void waitTillShown(final Component component, long msTimeout)
}
}

static Rectangle waitAndGetOnScreenBoundsOnEDT(Component component) throws Exception {
static Rectangle waitAndGetOnScreenBoundsOnEDT(Component component)
throws InterruptedException, TimeoutException, ExecutionException {
waitTillShown(component, 500);
robot.waitForIdle();

Expand Down

0 comments on commit 65c8a2b

Please sign in to comment.