@Override
    public void paintComponent(Graphics g)
    {
        pixelsW = getWidth();
        pixelsH = getHeight();
        horizontalIncrement = (right - left) / pixelsW;
        verticalIncrement = (bottom - top) / pixelsH;
        for(int x = 0; x < pixelsW; x++)
        {
            for(int y = 0; y < pixelsH; y++)
            {
                g.setColor(juliaColor(x,y));
                g.drawLine(x, y, x, y);
            }
        }
    }