how to use color in java code example Example: what is graphics default color java Graphics g; g.getColor();