public void execute(Graphics2D g, DrawState state) { g.setColor(currentColor); state.curColor = currentColor; g.setFont(currentFont); state.font = currentFont; }