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

X11: Frames cannot be shown initially maximized

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      Java version: 1.4.0
      Frames cannot be shown initially maximized due to inset calculation/resize
      dance (this makes Window Manager think that after maximization, another resize
      happened). There was a similar bug filed against Windows platform (4464714), but
      it was caused by different reasons, and is now fixed.

      Test case:
      ===
      import javax.swing.*;

      public class Maxim extends JFrame
      {
       public static void main(String args[])
       {
        new Maxim();
       }

       public Maxim()
       {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setExtendedState(MAXIMIZED_BOTH);
        show();
       }
      }
      ===

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: