Add wrapped AWT for headless platform

This commit is contained in:
Duy Tran Khanh committed 2021-01-17 13:58:53 +07:00
1 parent 05a09dd437
commit d038e80c04
21 files changed
+264

No files matched your search

@@ -0,0 +1,18 @@
package jdpi.awt;
import org.lwjgl.glfw.GLFW;
public class Component {
//setPreferredSize
public int getWidth() {
return GLFW.mGLFWWindowWidth;
}
public int getHeight() {
return GLFW.mGLFWWindowHeight;
}
public void setVisible(boolean visible) {
}
}