JDK-7160627 : [macosx] TextArea has wrong initial size
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-04-11
  • Updated: 2017-05-24
  • Resolved: 2012-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8 b61Fixed openjdk7uFixed
Related Reports
Duplicate :  
Description
Small testcase attached. in which we call Frame.pack() twice and get different frame size. This happens because our LWTextAreaPeer.getPreferredSize() method checks scrollbars height and width when they are invisible.

Comments
Fixed: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/39227bb92978
27-09-2012