JDK-6675401 : Frame doesnt resize contents when maximized
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2008-03-14
  • Updated: 2011-02-16
  • Resolved: 2008-04-16
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Linux lenovo1 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Ubuntu 7.1

A DESCRIPTION OF THE PROBLEM :
If you maximize an application using a JFrame the content pane is not resized. Works ok on Windows.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the Notepad demo, maxmize or resize the frame.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
the notepad should fill the frame
ACTUAL -
the notepad size remains the same.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Use the notepad demo
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Have not found one yet

Comments
EVALUATION according to submitter the problem is not reproducible with jdk7 b25. So, closing this CR as duplicate of 6632124.
16-04-2008

EVALUATION Submitter has reported that the problem is reproducible under Compiz. The problem looks like a duplicate of 6632124. 6632124 should not be reproducible with jdk7 b25, asked submitter to try the build.
16-04-2008

EVALUATION It would be interesting to know what window manager is used. (asked submitter about this)
15-04-2008

EVALUATION Reassigned to AWT
14-04-2008