Programming Examples

Are you a Programmer or Application Developer or a DBA? Take a cup of coffee, sit back and spend few minutes here :)

ont Name, Font Type and Font Size #21

In this Java AWT Tutorial, we will create three Fonts with Font Style and Font Size. Then we will draw a text in the AWT Frame Window using these Fonts and Graphics object. Here we will override paint method and then draw text using drawString method of the Java AWT Graphics object.


Categories: AWT-Tube

Do you like this Example? Please comment about it for others!!

This site uses Akismet to reduce spam. Learn how your comment data is processed.