When I use this code:
import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; public
i had a problem just like it and fixed it by downgrading to jdk 8 update 45.
i was using win 10 along with the integrated Intel HD 2000 for graphics .