Sounds like part of the problem lies in doing some no-no's of cross-platform Java development. Like explicitly setting the bounds of a control. Though, I must admit that having the default color of a button being black is unusual. This might be related to the theme of the Linux desktop. I don't know for sure. But you might want to check the java.sun.com website.

Paul Franz

----- Original Message -----
From: "Chang, David T" <[EMAIL PROTECTED]>
Date: Fri, 7 Feb 2003 17:56:55 -0700
To: "jdjlist" <[EMAIL PROTECTED]>
Subject: [jdjlist] RE: AWT components' platform dependency

Sorry, Patrick, I do not work with AWT, so I cannot help you.
 
David
-----Original Message-----
From: Patrick Li [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:07 AM
To: jdjlist
Subject: [jdjlist] AWT components' platform dependency

Hi,
 
I am using AWT components like Choices, TextFields, buttons, etc. in an applet. The appearance of these components on Windows and Linux is so vast that the applet can't be used in Linux while it is perfectly fine and beautiful under Windows. Of course, I expect some variation on appearance between the two, but some of these are ridiculous. Maybe I am missing something here, but I will raise a few examples below for your comments.
 
1) The nastiest one is the Choices. After I specified it's bounds. The box displayed as expected under windows, but under linux, the box stretches outside the applet boundary. Rendering it impossible to manipulate.
2) The text field in Linux cuts off the bottom half of the text while it displays fine under windows. If I increases the height of the box, then it looks ugly under windows.
3) The button has a default color of black under linux which is a bit unusual to say the least.
 
Finally, I am using SUN's 1.4.1 JVM for both platforms. The browser is Mosaic on linux and IE & Netscape under windows.
 
Any helpful enlightenment is welcome!
 
Patrick Li
---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] ---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED] --

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com

Meet Singles

--- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to