Posted July 13, 20196 yr comment_33673 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)){
July 17, 20196 yr comment_33885 This worked great! Thanks! Edited July 17, 20196 yr by RedKonflict Accidental quotes.
Create an account or sign in to comment