Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23675

Re: Software must support the user's settings for font size but how it works with swing?

From Stanimir Stamenkov <s7an10@netscape.net>
Newsgroups comp.lang.java.programmer
Subject Re: Software must support the user's settings for font size but how it works with swing?
Date 2013-04-28 02:02 +0300
Organization A noiseless patient Spider
Message-ID <klhl84$t4h$1@dont-email.me> (permalink)
References <cde2871e-f338-47b4-8b81-c15986021687@googlegroups.com> <klhj28$k21$1@dont-email.me>

Show all headers | View raw


Sun, 28 Apr 2013 01:25:16 +0300, /Stanimir Stamenkov/:

> UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
>
> In practice, at least on Windows it doesn't get the user configured
> "caption" and "message" fonts for most components like lists, trees
> and tables (like Windows Explorer does, for example), but just the
> fixed Windows "system font" which only changes in size depending on
> the system DPI setting.

I remember previously hacking the Windows L&F for that purpose by 
reading the corresponding desktop property:

http://docs.oracle.com/javase/6/docs/technotes/guides/swing/1.4/w2k_props.html

-- 
Stanimir

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Software must support the user's settings for font size but how it works with swing? Markus Lemcke <markuslemcke@googlemail.com> - 2013-04-27 14:00 -0700
  Re: Software must support the user's settings for font size but how it works with swing? Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-28 01:25 +0300
    Re: Software must support the user's settings for font size but how it works with swing? Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-28 02:02 +0300
  Re: Software must support the user's settings for font size but how it works with swing? Jeff Higgins <jeff@invalid.invalid> - 2013-04-27 19:14 -0400
    Re: Software must support the user's settings for font size but how it works with swing? Stanimir Stamenkov <s7an10@netscape.net> - 2013-04-28 02:19 +0300
      Re: Software must support the user's settings for font size but how it works with swing? Jeff Higgins <jeff@invalid.invalid> - 2013-04-27 19:27 -0400
  Re: Software must support the user's settings for font size but how it works with swing? Roedy Green <see_website@mindprod.com.invalid> - 2013-05-01 10:16 -0700

csiph-web