| Author |
font size and style
|
oghenekaro EFEKODO
Ranch Hand
Joined: Oct 10, 2005
Posts: 56
|
|
hi, pls,i'am a beginner in java and have being trying to write a code to (1).change the font size of a text.(2). change the font style of a text.(3)use dialog boxes effectively but failed.pls i need to tell me how to go about it and if you can help me with the code
|
 |
Joel McNary
Bartender
Joined: Aug 20, 2001
Posts: 1815
|
|
|
You can use the setFont() method of a component. You can get more information in our Swing forum, so I'm transferring this thread to that forum.
|
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
|
 |
Craig Wood
Ranch Hand
Joined: Jan 14, 2004
Posts: 1535
|
|
|
|
 |
 |
|
|
subject: font size and style
|
|
|