Skip to content

Commit

Permalink
8328110: Allow simultaneous use of PassFailJFrame with split UI and a…
Browse files Browse the repository at this point in the history
…dditional windows
  • Loading branch information
azvegint committed Mar 13, 2024
1 parent be344e4 commit 1f32161
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/jdk/java/awt/regtesthelpers/PassFailJFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1333,14 +1333,6 @@ private void validate() {
position = Position.HORIZONTAL;
}

if (panelCreator != null) {
if (splitUI && (testWindows != null || windowListCreator != null)) {
// TODO Is it required? We can support both
throw new IllegalStateException("Split UI is not allowed "
+ "with additional windows");
}
}

if (positionWindows != null) {
if (testWindows == null && windowListCreator == null) {
throw new IllegalStateException("To position windows, "
Expand Down

0 comments on commit 1f32161

Please sign in to comment.