Jump to content

Featured Replies

Posted
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)){

 

  • 10 months later...
  • 2 years later...
  • 1 month later...

Create an account or sign in to comment