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.
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.