Meteorite 54 Share Posted May 12, 2021 Love this, tysm. Only wish there was a way to make the mouse change size. Link to comment Share on other sites More sharing options...
holic 233 Author Share Posted May 12, 2021 (edited) 4 hours ago, Meteorite said: Love this, tysm. Only wish there was a way to make the mouse change size. Thanks man! As far as changing the mouse size, you can set the cursor thickness with setCursorStroke(new BasicStroke(<SIZE>)) And to change the length of the cursors, change the "s" variable per method, with "s" meaning size: public void drawPlusMouse(Graphics g) { ... int s = 4; //Change this to a higher number for a longer cursor ... For circular cursors, change these lines (I know, didn't make this the friendliest): public void drawCircleMouse(Graphics g) { ... g2.drawOval(mX - 1, mY - 1, 4, 4) g2.drawOval(mX - 2, mY - 2, int width, int height) ... replacing width and height with your desired number. They're set to 4 by default Edited May 12, 2021 by holic Link to comment Share on other sites More sharing options...
xSam 2 Share Posted August 12, 2021 Great utility, and very easy set up! Will be incredibly useful. 👍👍 Link to comment Share on other sites More sharing options...
holic 233 Author Share Posted August 12, 2021 41 minutes ago, xSam said: Great utility, and very easy set up! Will be incredibly useful. 👍👍 Glad to hear it! I've got some improvements I'll post in a bit Link to comment Share on other sites More sharing options...
AHHEUS 2 Share Posted April 19, 2023 (edited) I cant figure out how to use this i have been trying for hours Edited April 19, 2023 by AHHEUS Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now