|
Java™ by example!
|
|
|
How do I draw italic/bold text?
 You can call the method setFont on the graphics context, or if you want to associate the font with the String, you can use the AttributedString class. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|