I'm trying to create my cursor.
1 2 3 4 5 6 7 8 9
| String CURSOR = "c:/cursor.gif"; int width = 50, height = 50, x = 25, y=25, animations = 1, animeDelay = -1;
int img = render.getImage(CURSOR);
Cursor cursor = new Cursor(width, height, x, y, animations, img, animeDelay); Mouse.setNativeCursor(cursor); |
I get a cannot find symbol error.
I have included the appropriate namespaces and the LWJGL library. There should be no problems, the mouse and keyboard work perfectly. There should be no reason why this shouldn't work.