I have modified my cursor with
cotainer.setMouseCursor(Image image, int hotSpotX, int hotSpotY)
How do I change it back to the system default after I’ve set it?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try
container.setMouseCursor(org.lwjgl.input.Cursor.CURSOR_8_BIT_ALPHA, int hotSpotX, int hotSpotY);check if it works, or if it’s not exactly what you want..EDIT: here
container.setDefaultMouseCursor()reference