graphics java set default color code example Example: what is graphics default color java Graphics g; g.getColor();