< prev index next >

test/jdk/java/awt/Modal/ToBack/ToBackDDFTest.java

Print this page

        

*** 60,69 **** --- 60,70 ---- private void createGUI() { hiddenFrame = new Frame(); leftDialog = new TestDialog(hiddenFrame); leftDialog.setLocation(50, 50); + leftDialog.setResizable(false); leftDialog.setBackground(Color.BLUE); leftDialog.setVisible(true); dialog = new CustomDialog(leftDialog);
*** 74,86 **** --- 75,89 ---- 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 >