I am working on a game that uses LWJGL, and I need a way to minimize the Display with a method. Is there a way to do this?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
The easiest way to do this is to embed the LWJGL into a JPanel, Canvas, or something of the like. Doing this will allow you full control of the way your OpenGL layer is resized, etc. You can even have your own little "OpenGL controls" if you want to start getting fancy with it. here and here are two good examples. The vital part of it is quite simply:
After this you can set:
To achieve the minimization that you're looking for.