Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1756
| From | "Hal Vaughan" <hal.vaughan@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Setting the Font for All |
| Message-ID | <j8qdnVQk3ca8QPjbnZ2dnUVZ_vjinZ2d@comcast.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:35 +0000 |
| Organization | TDS.net |
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
Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread
Setting the Font for All "Hal Vaughan" <hal.vaughan@THRWHITE.remove-dii-this> - 2011-04-27 15:35 +0000
csiph-web