[Java] Added right mouse button events