• Post Reply Bookmark Topic Watch Topic
  • New Topic

AWT problems with Macintosh JVM

 
Tim Glass
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can view the site here : http://www.web-twg.com/rnu/rnu.html
I have an applet with a fairly complex layout and many components that are custom to allow drawing borders (using an old jdk). The applet looks fine in IE and Netscape on a pc - but many of the components are poorly "drawn" when view in IE from a Mac.
Does this have to do with L&F and each JVM / OS rendering components differently? How can I ensure that my components will look the same in ALL OS's? (So much for write once run anywhere, eh?)
Thanks for your help.
Tim Glass
TWGlass5@cs.com
TimGlass@web-twg.com
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The AWT components are all heavyweight components, meaning that they rely on an underlying peer component provided by the os to do their thing. Therefore they have the L&F that the os prefers.
The new swing components are lightweight and have the same L&F on any os. Of course the swing components are only available for a Mac in the OS X release which is not out yet so . . . . . .
Be patient - it's coming .
 
Sean MacLean
author
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wait no more...it's here...
http://www.apple.com/macosx/ http://developer.apple.com/java/

Sean
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!