Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7154177

[macosx] An invisible owner frame becomes visible upon clicking a child window

XMLWordPrintable

    • b18
    • generic
    • os_x
    • Verified

        The following test case can be used to reproduce the problem:

        import java.awt.*;

        public class TestGUI1 extends Window {

            public TestGUI1(Frame owner) {
                super(owner);
            }

            public static void main(final String[] args) {
                final Frame frame = new Frame("SetLocJWin Test Frame");
                frame.setSize(500,500);
                final TestGUI1 window = new TestGUI1(frame);
                window.setBackground(Color.RED);
                window.setSize(200, 200);
                window.setLocationRelativeTo(null);
                window.setVisible(true);
            }
        }

              anthony Anthony Petrov (Inactive)
              anthony Anthony Petrov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: