• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing application font issue

 
Shreyas Rane
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed a swing application, i have some issues with application font!!

My development environment :

OS : Fedora 13

Java Version :
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)

ISSUE :
On Fedora (my system) application font looks (normal) ok
but when i tried to run the same app on different OS : Ubuntu , the Font looked a bit bold than what it did on Fedora...

How can this be fixed?

Thanks in advance


 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fonts, by default, are specified by the LAF. What LAF are you using?
Usually, it is a good idea to specify the System LAF so that your application feels more "native" to the end user, without you ever needing to change any code.
More about setting the LAF here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic