DEV Community

Rigid Network
Rigid Network

Posted on

2 1

How do I render LWJGL2 on Swing?

Hi. I was just wondering how I could render stuff from LWJGL2 (quads, etc.) on a window created by Swing?

Example: Rendering GL_QUADS on a JPanel inside a JFrame.

Thanks!

Top comments (1)

Collapse
 
relvl profile image
Johnson

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

AWS GenAI Live!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️