Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Applet on windows and Linux............ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Applet on windows and Linux............" Watch "Applet on windows and Linux............" New topic
Author

Applet on windows and Linux............

sachin upatil
Greenhorn

Joined: May 17, 2010
Posts: 29
HI,

I Designed one applet. When i open that applet in Firefox on windows xp its showing good, But if same applet i open in Firefox on ubuntu/Linux , some text of applet showing Bigger font.

What is wrong ?
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Different platforms may use different default fonts. If you want particular font sizes, make sure to set them explicitly. Also be aware that different machines/displays/operating systems use different DPI settings. Windows in particular uses a higher DPI, so fonts turn out being smaller than elsewhere.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet on windows and Linux............