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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        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);
            }
        }

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: