8340365: Position the first window of a window list
Reviewed-by: azvegint, prr
This commit is contained in:
parent
8dcf7b8fa7
commit
e97f0fe1b4
@ -349,11 +349,9 @@ public final class PassFailJFrame {
|
||||
builder.positionWindows
|
||||
.positionTestWindows(unmodifiableList(builder.testWindows),
|
||||
builder.instructionUIHandler));
|
||||
} else if (builder.testWindows.size() == 1) {
|
||||
} else {
|
||||
Window window = builder.testWindows.get(0);
|
||||
positionTestWindow(window, builder.position);
|
||||
} else {
|
||||
positionTestWindow(null, builder.position);
|
||||
}
|
||||
}
|
||||
showAllWindows();
|
||||
|
Loading…
x
Reference in New Issue
Block a user