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

Double click on titlebar not working for Frame with extended state set to MAXIMIZED_BOTH

XMLWordPrintable

    • b28
    • x86
    • os_x

        Double click on title bar not working after sometime for Frame with extended state set to MAXIMIZED_BOTH. The issue is not observed all the times.

        Issue is observed on Mac OS 10.13.6 with JDK 12 b23.

        Code to reproduce the issue:

        import java.awt.Frame;
        import java.awt.Rectangle;

        public class TitleBarDoubleClick {

            public static void main(String[] args) {
                Frame f = new Frame();
                f.setSize(300,300);
                f.setVisible(true);
                f.setMaximizedBounds(new Rectangle(100,100,100,100));
                f.setExtendedState(Frame.MAXIMIZED_BOTH);
            }
        }

              mhalder Manajit Halder (Inactive)
              mhalder Manajit Halder (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: