Anyone collected data on java versions in the scene recently ?
|
|
hi i was wondering if someone could help me out with this I know am new to this, but tried to follow this. but somethings i really could not find. I have to state I currently use the dawntained (released version on rune-server) [Only registered and activated users can see links. ] current un-edited RSApplet.java
this is what i could not find nor something that looked similare
here is the new code. Also where can I find the letter (SwingUtilities.isRightMouseButton(e)) in this case the e that my client uses so i can change that.Code:if (type == 2) { mouseWheelDown = true; mouseWheelX = i; mouseWheelY = j; return; }
old code.Code:public final void mousePressed(MouseEvent mouseevent) { int i = mouseevent.getX(); int j = mouseevent.getY(); if (gameFrame != null) { i -= 4; //4 j -= 22; //22 } idleTime = 0; clickX = i; clickY = j; clickTime = System.currentTimeMillis(); if(SwingUtilities.isRightMouseButton(e)) { { clickMode1 = 2; clickMode2 = 2; } else if(SwingUtilities.isLeftMouseButton(e)){ { clickMode1 = 1; clickMode2 = 1; } }
can you please help me out with this?Code:if (mouseevent.isMetaDown()) { clickMode1 = 2; clickMode2 = 2; } else { clickMode1 = 1; clickMode2 = 1; } }

Anyone collected data on java versions in the scene recently ?




Thanks so much! Right clicking is fixed :-D
Thank you so muchI got it finally fixed
Thanks!
could do this as well...
if (type == 2) {
mouseWheelDown = true;
mouseWheelX = x;
mouseWheelY = y;
return;
}
if (type == 3) {
clickType = RIGHT;
clickMode1 = 2;
clickMode2 = 2;
} else if (type == 1) {
clickType = LEFT;
clickMode1 = 1;
clickMode2 = 1;
}
}
sorry for gravedigging but still having issues
how my code looks
if (type == 2) {
mouseWheelDown = true;
mouseWheelX = x;
mouseWheelY = y;
return;
}
if (type == 3) {
clickType = RIGHT;
clickMode1 = 2;
clickMode2 = 2;
} else if (type == 1) {
clickType = LEFT;
clickMode1 = 1;
clickMode2 = 1;
| « MQO Exporter & Importer | - » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
| Tags for this Thread |