@Override
    public float getMaxLineWidth() {
        // Since neither JMonkeyEngine nor LWJGL ever enables GL_LINE_SMOOTH,
        // all lines are aliased, but just in case...
        assert !gl.glIsEnabled(GL.GL_LINE_SMOOTH);

        // When running with OpenGL 3.2+ core profile,
        // compatibility features such as multipixel lines aren't available.
        if (caps.contains(Caps.CoreProfile)) {
            return 1f;
        }

        floatBuf16.clear();
        gl.glGetFloat(GL.GL_ALIASED_LINE_WIDTH_RANGE, floatBuf16);
        float result = floatBuf16.get(1);

        return result;
    }
Determine the maximum allowed width for lines.

@return the maximum width (in pixels)
jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java