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

X11: Frames cannot be shown initially maximized

XMLWordPrintable

    • sparc
    • solaris_8

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: