< prev index next >
test/jdk/java/awt/Modal/ToBack/ToBackFDFTest.java
Print this page
*** 68,77 ****
--- 68,78 ----
private void createGUI() {
leftFrame = new TestFrame();
leftFrame.setLocation(50, 50);
+ leftFrame.setResizable(false);
leftFrame.setBackground(Color.BLUE);
leftFrame.setVisible(true);
switch (owner) {
case HIDDEN_DIALOG:
*** 100,112 ****
--- 101,115 ----
dialog.setModalityType(modalityType);
}
dialog.setBackground(Color.WHITE);
dialog.setLocation(150, 50);
+ dialog.setResizable(false);
rightFrame = new TestFrame();
rightFrame.setLocation(250, 50);
+ rightFrame.setResizable(false);
rightFrame.setBackground(Color.RED);
if (modalityType == Dialog.ModalityType.APPLICATION_MODAL) {
rightFrame.setModalExclusionType(
Dialog.ModalExclusionType.APPLICATION_EXCLUDE);
< prev index next >