Skip to content

Commit 11a3673

Browse files
author
Alexander Zvegintsev
committed
8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows
Reviewed-by: aivanov, honkar
1 parent 1281e18 commit 11a3673

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/jdk/java/awt/regtesthelpers/PassFailJFrame.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,14 +1333,6 @@ private void validate() {
13331333
position = Position.HORIZONTAL;
13341334
}
13351335

1336-
if (panelCreator != null) {
1337-
if (splitUI && (testWindows != null || windowListCreator != null)) {
1338-
// TODO Is it required? We can support both
1339-
throw new IllegalStateException("Split UI is not allowed "
1340-
+ "with additional windows");
1341-
}
1342-
}
1343-
13441336
if (positionWindows != null) {
13451337
if (testWindows == null && windowListCreator == null) {
13461338
throw new IllegalStateException("To position windows, "

0 commit comments

Comments
 (0)