This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Swing / AWT / SWT
changing font style and size
Joined: Feb 06, 2006
Mar 08, 2006 08:49:00
I'm creating a
GUI application with labels and textboxes etc, but how do i change the font style and size, eg: change it to times new roman, size 12, bold???
Joined: Jan 14, 2004
Mar 08, 2006 19:57:00
each have access to the
method that you can use. Or you could use
and alter the style and size of the returned font with the
method. See Font class api for details.
Have you checked out
subject: changing font style and size
change the button font
Using CSS float for positioning page elements
Changing font size in javafx.scene.control.ChoiceBox
MenuItem font setting
How to change font of String?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015