1. Press button "Show Dialog" at the frame "Test" and the dialog with button "Show ColorChooser" should appears. 2. Press button "Show ColorChooser" at the dialog "Dialog" and the colorchooser should appears. 3. Press the button "Cancel" of colorchooser. If the focus will come to the frame "Test" then test fails. If the focus will come to the dialog "Dialog" then test passes.