Assigning Fonts

This program tests your ability to assign values (objects) to object variables.

Write a program that does the same thing as this Font assignment program. My program uses the Verdana and Wingdings styles and sizes of 10 and 25. Turn in a screen shot of your program with Large Wingdings displayed along with a listing.

Modify your program to use italic fonts by passing a third argument when you call the Font constructor, for example:

New Font("verdana", 25, FontStyle.Italic)
Turn in a screen shot and listing of the italic version also.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.