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

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more