<AWT Dev> Review request for JDK-7159591: [macosx] In SetFontTest there's no space for the second button.
Manajit Halder
manajit.halder at oracle.com
Thu Dec 3 13:15:51 UTC 2015
Hi All,
Kindly review the fix for JDK9.
Bug:
https://bugs.openjdk.java.net/browse/JDK-7159591 <https://bugs.openjdk.java.net/browse/JDK-7159591>
Webrev:
http://cr.openjdk.java.net/~arapte/manajit/7159591/webrev.00/ <http://cr.openjdk.java.net/~arapte/manajit/7159591/webrev.00/>
Issue: [macosx] In SetFontTest there's no space for the second button.
Cause: It is observed that the default text font size (AWT List) and Button size (AWT Button) are bigger than that of on Windows.
Fix: Changed the Height of the Applet window to 220 from 200. Since the default Text and Button sizes are bigger than that of the windows platform
Other possible fixes:
1) Changing the default size of Text and Button on Mac OS X. This fix won’t be justified as there are no problems with the default Text and Button size.
Only in this case the problem is observed because of the size of Applet window if fixed and there are no Scroll bar on the Applet Window.
2) Changing the Layout of the Applet window. Tried changing the Layout to BoxLayout. But there were some other issues with the alignment.
3) Changing the size of the List to 6 form 8. Since only 4 elements are added into the list. This fix is not justified because problem was with the size of the Applet window,
not with the size of the List.
Regards,
Manajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20151203/716a9161/attachment.html>
More information about the awt-dev
mailing list