0

Is it possible to have an openGL viewport in a JFrame?

I am making an LWJGL game and I am wondering if it is possible to use a JFrame for the viewport.

25th Apr 2020, 2:32 AM
BendedWills
BendedWills - avatar
2 Answers
+ 2
Do you want to use OpenGL inside of a jframe window?
17th May 2021, 11:15 AM
SimZooo
SimZooo - avatar
+ 2
I would recommend using Display or GLFW depending on what version if LWJGL youre using.
17th May 2021, 11:17 AM
SimZooo
SimZooo - avatar