Madara 767 Posted July 13, 2019 Report Share Posted July 13, 2019 Search for this: Code: if (type == 2) { mouseWheelDown = true; mouseWheelX = i; mouseWheelY = j; return; } replace the if statement with: Code: if (SwingUtilities.isMiddleMouseButton(e)) { Then search for: Code: if (mouseevent.isMetaDown()) { clickMode1 = 2; clickMode2 = 2; } Replace the first if statement with: Code: if(SwingUtilities.isRightMouseButton(e)) { Then also in the following else block: Code: } else { clickMode1 = 1; clickMode2 = 1; } replace the else line with: Code: } else if(SwingUtilities.isLeftMouseButton(e)){ 1 Link to comment Share on other sites More sharing options...
RedKonflict 2 Posted July 17, 2019 Report Share Posted July 17, 2019 (edited) This worked great! Thanks! Edited July 17, 2019 by RedKonflict Accidental quotes. 1 Link to comment Share on other sites More sharing options...
Origin 1,872 Posted June 10, 2020 Report Share Posted June 10, 2020 thank you! I appreciate this! Link to comment Share on other sites More sharing options...
onetake 0 Posted October 13, 2022 Report Share Posted October 13, 2022 Thanks friend! Link to comment Share on other sites More sharing options...
khepius 0 Posted November 25, 2022 Report Share Posted November 25, 2022 ty 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