As you said (thekidder), it GLWindowdoesnβt have this possibility, so I would use it GLCanvasinside Frame(or JFrame), like this (for example, AlexR wrote):
public static void main(String... args) {
Toolkit t = Toolkit.getDefaultToolkit();
Image i = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB);
Cursor noCursor = t.createCustomCursor(i, new Point(0, 0), "none");
Frame f = new Frame();
GLCanvas canvas = new GLCanvas();
frame.add(canvas);
f.setCursor(noCursor);
f.setSize(400, 200);
f.setVisible(true);
}
dacwe source
share