public void draw(Graphics graphics, int x, int y) {
        if (isRememberingData()) {
            final Color color = graphics.getColor();
            graphics.setColor(Color.red);
            graphics.drawRect(x - 15, y - 22, 22, 20);
            graphics.drawString(rememberedData.toString(), x - 12, y - 5);
            graphics.setColor(color);
        }
        if (isRememberingPageNumber()) {
            final Color color = graphics.getColor();
            graphics.setColor(Color.blue);
            graphics.drawRect(x + 15, y - 22, 22, 20);
            graphics.drawString(rememberedPage.toString(), x + 18, y - 5);
            graphics.setColor(color);
        }
    }