<AWT Dev> [8] Request for review: 7124213: [macosx] pack() does ignore size of a component; doesn't on the other platforms.

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed May 2 05:49:15 PDT 2012

Hi, Artem.

Yes LWTextAreaPeer uses the same approach(60,10). But in the fix I 
change LWScrollPanePeer.

> Hi, Sergey,
> I'm fine with the fix, just curious about "... should work in the same
> way as on other platforms". Both on Windows and X11 TextArea peer's
> minimum size is calculated as the size of TextArea that consists of 10
> rows by 60 columns. What did you mean then?
> Thanks,

> On 4/16/2012 6:50 PM, Sergey Bylokhov wrote:
>> Hi Everyone,
>> LWScrollPanePeer.getMinimumSize() on macosx should work in the same 
>> way, as on other platforms.
>> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124213
>> Webrev can be found at: 
>> http://cr.openjdk.java.net/~serb/7124213/webrev.00/

More information about the awt-dev mailing list