Put a LWJGL java app in a jpanel or canvas -


with new update lwjgl 3 class display not exists, i've searched everywhere can't find on how put lwjgl app in jpanel or in canvas or like. thought use opengl gui twl make more difficult , don't need it, question how put lwjgl app in jpanel or in canvas. thanks, save life.

unfortunately, there isn't support using lwjgl3 swing. support more windowing systems in roadmap, isn't clear whether implemented @ all.

from roadmap:

multiple windowing system implementations.

  • [✓] glfw
  • lwjgl 2 compatible
  • [?] awt/canvas
  • [?][.x] javafx

one lesson learned lwjgl 2 it's hard windowing system keep happy. there 1 feature missing. 3, plan support few different windowing system back-ends , possibly "official" api similar current one, unspecified implementation under hood. might sound important part of lwjgl open, fact api surface quite small. no abstraction layers, it's easy move client code 1 windowing system another. forcing cross-platform , implementation-agnostic api our users hit same issues have in lwjgl 2. the complete implementation have now, glfw, feature-packed , robust, it's still commit it. plan explore many different options first , expose users. know better.


[?]: still under discussion. may change or controversial , may not implemented @ all.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -