set font color java

set Background Color Java

In Java AWT, using Color object, the background color of frame or any component or any graphical figure can be changed. In this tutorial set Background Color Java, the background color of frame, button and graphics is changed. Know how to create different colors with Java AWT Color.

Output Screenshot…