This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to find font size defined in user environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to find font size defined in user environment" Watch "How to find font size defined in user environment" New topic
Author

How to find font size defined in user environment

Yasushi Okubo
Greenhorn

Joined: Jan 28, 2005
Posts: 9
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
 
wood burning stoves
 
subject: How to find font size defined in user environment
 
Similar Threads
installers for java ?
Doubt in Xml+Swing for constructing GUI
KDE vs. .... Gnome?
font size option to user
Modifying TextLayout