aspose file tools
The moose likes Swing / AWT / SWT and the fly likes font size and style Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "font size and style" Watch "font size and style" New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: font size and style
 
Similar Threads
Font
font size, and dialogbox
Read the pdf file using java
get parameters from select
MenuItem font setting