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

jframe.setMaximizedBounds() has no effect in linux

XMLWordPrintable

    • b77
    • x86
    • linux

      FULL PRODUCT VERSION :
      jdk 1.4

      ADDITIONAL OS VERSION INFORMATION :
      Linux (Kubuntu)

      A DESCRIPTION OF THE PROBLEM :
      The method setMaximizedBounds() of jframe has no effect in linux platform.

      I tried to specify the maximum size of a frame using the code

      frame.setMaximizedBounds(new Rectangle(0, 0, 300, 300));

      This code works in windows. But in linux this code has no effect. When I tried to maximize the frame, it is stretched to the entire screen.


      REPRODUCIBILITY :
      This bug can be reproduced always.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: