Thread: Fix Right Click (Java 9) - Non-refactored

Results 1 to 5 of 5
  1. #1 Fix Right Click (Java 9) - Non-refactored 
    محمد

    Jamili's Avatar
    Join Date
    Jun 2010
    Posts
    408
    Thanks given
    93
    Thanks received
    246
    Rep Power
    307
    In addition to [Only registered and activated users can see links. ].

    If you do not have a class named RSApplet, this tutorial will benefit you.

    In Class11.java, find:
    Code:
    public final synchronized void mousePressed(MouseEvent mouseevent) {
    Replace the whole method with this:
    Code:
    public final synchronized void mousePressed(MouseEvent mouseevent) {
    		if (Class13.aClass11_264 != null) {
    			Class39.idleMouseTicks = 0;
    			Class79.anInt1888 = mouseevent.getX();
    			Class23_Sub4_Sub23.anInt3289 = mouseevent.getY();
    			Class23_Sub4_Sub37.aLong3497 = TimeUpdate.getTime();
    			if(SwingUtilities.isRightMouseButton(mouseevent)) { // modified to work with SwingUtilities
    				Class59.anInt918 = 2;
    				Class19.anInt325 = 2;
    			} else if(SwingUtilities.isLeftMouseButton(mouseevent)){ // modified to work with SwingUtilities
    				Class59.anInt918 = 1;
    				Class19.anInt325 = 1;
    			}
    			mouseevent.getModifiers();
    		}
    		anInt219++;
    		if (mouseevent.isPopupTrigger()) {
    			mouseevent.consume();
    		}
    	}
    Credits:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Spoiler for Honorable mentions:

    Quote Originally Posted by JRFisher View Post
    Dude, learn yourself, it took me 17 months of continuous research to learn how to import a project.
    Quote Originally Posted by Pollution View Post
    When? And Idiot, I'm using a oldschool, it's not easy to get the command for an oldschool, retard c u.
    Quote Originally Posted by Waj_Assif View Post
    I sayin u dont contribute never aall u do is finna tryin attack ppl and always finna start fights .......
    Quote Originally Posted by Kris View Post
    You must be one of those slower breeds.
    Quote Originally Posted by Gandalf View Post
    Just piss off ploter hacker fella dumb fuck. Your a donor to a rsps community, I'm a Mainowner to a Private Server thats 7+ Years old. Lmfao kid, get a life. Don't let my name come out of your mouth again. Or it wont end nicely for you. Understand me big boy?
    Quote Originally Posted by Tojad View Post
    What do you know about Public Void and int without this [] is only 1 integer, why?
    Reply With Quote  
     

  2. #2  
    Rune-Server Affiliate

    Join Date
    Apr 2014
    Posts
    1,727
    Thanks given
    57
    Thanks received
    669
    Rep Power
    985
    what
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Thanker
    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    24
    Posts
    1,837
    Thanks given
    10,338
    Thanks received
    200
    Rep Power
    3365
    So this is checking whether a real mouse click event is happening or not, I guess?
    Thanks, MrClassic.

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    25
    Posts
    16,024
    Thanks given
    7,039
    Thanks received
    11,744
    Rep Power
    5000
    [Only registered and activated users can see links. ]

    should do this instead of the utility methods in SwingUtilities imo

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. Thankful users:


  6. #5  
    محمد

    Jamili's Avatar
    Join Date
    Jun 2010
    Posts
    408
    Thanks given
    93
    Thanks received
    246
    Rep Power
    307
    Quote Originally Posted by Scu11 View Post
    [Only registered and activated users can see links. ]
    should do this instead of the utility methods in SwingUtilities imo
    Thank you scu. I didn't see that one.

    Quote Originally Posted by Zion View Post
    what
    Fix Right Click (Java 9) - Non-refactored
    [Only registered and activated users can see links. ]
    Spoiler for Honorable mentions:

    Quote Originally Posted by JRFisher View Post
    Dude, learn yourself, it took me 17 months of continuous research to learn how to import a project.
    Quote Originally Posted by Pollution View Post
    When? And Idiot, I'm using a oldschool, it's not easy to get the command for an oldschool, retard c u.
    Quote Originally Posted by Waj_Assif View Post
    I sayin u dont contribute never aall u do is finna tryin attack ppl and always finna start fights .......
    Quote Originally Posted by Kris View Post
    You must be one of those slower breeds.
    Quote Originally Posted by Gandalf View Post
    Just piss off ploter hacker fella dumb fuck. Your a donor to a rsps community, I'm a Mainowner to a Private Server thats 7+ Years old. Lmfao kid, get a life. Don't let my name come out of your mouth again. Or it wont end nicely for you. Understand me big boy?
    Quote Originally Posted by Tojad View Post
    What do you know about Public Void and int without this [] is only 1 integer, why?
    Reply With Quote  
     

  7. Thankful users:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [667/7**] How to fix right click bug in PvP
    By ZachTX in forum Tutorials
    Replies: 5
    Last Post: 06-30-2014, 05:06 PM
  2. Replies: 5
    Last Post: 01-09-2012, 05:35 PM
  3. Replies: 1
    Last Post: 01-08-2012, 06:01 AM
  4. Galkon Enhanced fixing right click "null"
    By Zuyi in forum Snippets
    Replies: 5
    Last Post: 06-19-2011, 09:21 PM
  5. Fixed Right Clicking
    By Mr. Gangster in forum Show-off
    Replies: 20
    Last Post: 08-30-2009, 10:28 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •