| Author |
Changing Font Size - Swing
|
Matthew Bryan
Greenhorn
Joined: Jun 10, 2004
Posts: 1
|
|
Hey, Im building a Jeopardy game which needs to be visible to a classroom/group of people using a projector. I need a larger font size, and have no clue how to do it. I tried a JEditorPane but I need to incorporate swing buttons into the same frame, so that wont work. All I really need is a JLabel but with a larger font. Any ideas? -Matt
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
Every Component has a get/setFont method. Check out the documentation for java.awt.Font for your font options.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Changing Font Size - Swing
|
|
|