• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to find font size defined in user environment

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi experts.

I am writing a stand-alone desktop application on Linux. On Linux, a user can change font style/font size etc from the gui easily. So, I would like to know about the font setting that a user choose to display. I am using UIManager to get a look and feel. By knowing the font size defined by a user, I would like to scale GUI components like size of text field, drop down menu etc.

Is there any way to find out the user setting (font size) on their environment ?
I checked system property and tookkit, but I could not find anything useful.

Thanks,
yasushi
 
reply
    Bookmark Topic Watch Topic
  • New Topic