java.awt.Font class is used to set or retrieve --------- while java.awt.Color class is used to add color to applications and --- code example
Example: Howow to use font object Java
Font smallFont = new Font("Monospaced", Font.PLAIN, 10);
Font bigFont = new Font("Serif", Font.BOLD, 18);