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


Groups > comp.lang.java.gui > #1756 > unrolled thread

Setting the Font for All

Started by"Hal Vaughan" <hal.vaughan@THRWHITE.remove-dii-this>
First post2011-04-27 15:35 +0000
Last post2011-04-27 15:35 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.gui


Contents

  Setting the Font for All "Hal Vaughan" <hal.vaughan@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000

#1756 — Setting the Font for All

From"Hal Vaughan" <hal.vaughan@THRWHITE.remove-dii-this>
Date2011-04-27 15:35 +0000
SubjectSetting the Font for All
Message-ID<j8qdnVQk3ca8QPjbnZ2dnUVZ_vjinZ2d@comcast.com>
  To: comp.lang.java.gui
I've never had to worry about what font I was using before, but now I'm
going to have a JComboBox with combined data from several sources and need
to use a fixed width font so I can line up data. aIf possible, I'd like to
just use the same font for all the components in that panel. aI know I can
set the font for each component individually and I did set the font for the
panel, but that doesn't effect the components in the panel.

Is there a way to specify a font for a panel or JTabbedPane and have that
same font automatically used for all the components in the panel? aCould
this be done for a window? aI'd like to just specify the font once and not
over and over with each component.

Thanks!

Hal

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web