Skip to content
Advertisement

Tag: mouse

JFrame.addMouseListener doesn’t register clicks

I am currently writing an application in java that needs to take in input from the user. I have tried many ways to implement the input but none of them work. I am rendering objects with the graphics interface if that helps. I have tried a couple of methods to implement mouse interaction: And However when I run the application

Java – Libgdx set the cursor to the hand pointer

I have been doing some research on libgdx and can’t find anything relating to this, you can set the pointer image but that isn’t what I’m wanting, I tried the set cursor with j frame and stuff but it wouldn’t work, what I want is for the default hand cursor to be set when it is called Answer There is

Advertisement