/** * Change the colors of text for next writes * * @param color Foreground color * @see #color(int, int) */ public static void setForeground(int color) { frame.setForeColor(colors[color % colors.length]); }