Hi Paul, I understand what you said about differences on Fonts and I expect that. I also agree that I should use layout managers. However, I always thought the size is specified in terms of pixels, which should be uniform across all platforms, isn't it? Let's talk about Choices in particular. If I set the size of a Choice box to 180x24, then it should be 180 pixels wide and 24 pixels tall. I don't understand what text fonts has to do with that.
Thanks in advance Patrick -----Original Message----- From: Paul Franz [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:02 PM To: jdjlist Subject: [jdjlist] RE: AWT components' platform dependency Patrick, The hard coding the sizes is causing problems. Because the default font is different for each platform. In addition to that, even if you specified a certain font AND that font was available cross-platform. There is no guarantee that the font will render EXACTLY the same (i.e. possibly different sizes). To make things as cross-platform as possible (at least in look) you should use layout managers like BorderLayout, FlowLayout, etc. Paul Franz --- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
