Fundamentals of
Java

Totally free education on the Internet

About · FAQ ·Tell a Friend · Comments  · Course Home Page  ·  IT Learning Center

About this Course

IT_coverSm07.jpg (20692 bytes)

This course is intended beginning computer hobbyists and first-year IT students.

The free online textbook for this course is Sams Teach Yourself Java 2 in 24 Hours. Read the Introduction to the book.

offiste01.jpg (430 bytes) Indicates links that take you away from the Free-Ed.Net site. Use the links on these offsite pages carefully, and use the Back function on your browser to return to the assigments.

 

Study Aids

offiste01.jpg (430 bytes) Using the Java 2 Software Development Kit

offiste01.jpg (430 bytes) Programming with the Java 2 Software Development Kit

Lesson 21. Using Fonts and Color

In this lesson you will learn about:

  • Using fonts in your programs
  • Setting a font's style and size
  • Displaying colors
  • Using the color constants
  • Setting up the background color
  • Using sRGB values to choose colors
  • Using HSB values to choose colors
  • Creating special text effects using colors

offiste01.jpg (430 bytes) Introduction to the lesson

Reading Assignments

Read the following sections from your free online textbook:

offiste01.jpg (430 bytes) Using the Font Class
offiste01.jpg (430 bytes) Using the Color Class
offiste01.jpg (430 bytes) Other Ways to Choose Colors
offiste01.jpg (430 bytes) Workshop: Displaying a Danger Message
 

Learning Activities

  1. Use this search box to refine and expand your understanding of new terms and concepts in the reading assignments.

Custom Search
  1. offiste01.jpg (430 bytes) Read the Summary of the lesson.
  2. offiste01.jpg (430 bytes) Test your understanding with the Q&A.
  3. offiste01.jpg (430 bytes) Try the Quiz.
  4. offiste01.jpg (430 bytes) Test your skills with the hands-on Activities.
    Return here after completing your hands-on  session.


Web design and curriculum: David L. Heiserman

Copyright © 2005 SweetHaven Publishing Services
All Rights Reserved