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


Groups > comp.lang.java.help > #1068

Re: J2ME - List and Font

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.help
Subject Re: J2ME - List and Font
Date 2011-09-20 14:01 -0400
Organization The Wasteland
Message-ID <nospam-0A9AE2.14012120092011@news.aioe.org> (permalink)
References <pan.2011.09.20.06.42.08@sejlgarnet.dk>

Show all headers | View raw


In article <pan.2011.09.20.06.42.08@sejlgarnet.dk>,
 Thomas Jensen <lianergoist@sejlgarnet.dk> wrote:

> I am trying to change the font size in a list.

Because the choice of font is a property of the UI delegate, typically 
derived from javax.swing.plaf.ListUI, I'd look at putting something like 
this early in main's Runnable:

    UIManager.put("List.font", ...);

There are related examples here:

<http://stackoverflow.com/questions/2892721>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

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


Thread

J2ME - List and Font Thomas Jensen <lianergoist@sejlgarnet.dk> - 2011-09-20 06:42 +0000
  Re: J2ME - List and Font "John B. Matthews" <nospam@nospam.invalid> - 2011-09-20 14:01 -0400
  Re: J2ME - List and Font Roedy Green <see_website@mindprod.com.invalid> - 2011-09-20 15:13 -0700
  Re: J2ME - List and Font Roedy Green <see_website@mindprod.com.invalid> - 2011-09-20 15:18 -0700
    Re: J2ME - List and Font Thomas Jensen <lianergoist@sejlgarnet.dk> - 2011-09-22 08:36 +0000
      Re: J2ME - List and Font Thomas Jensen <lianergoist@sejlgarnet.dk> - 2011-09-22 10:36 +0000
      Re: J2ME - List and Font Roedy Green <see_website@mindprod.com.invalid> - 2011-09-22 12:15 -0700
      Re: J2ME - List and Font Roedy Green <see_website@mindprod.com.invalid> - 2011-09-22 12:17 -0700

csiph-web