Thread: fix for not being able to right click

Results 1 to 5 of 5
  1. #1 fix for not being able to right click 
    Registered Member
    Join Date
    Oct 2022
    Posts
    11
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    I've looked for a tutorial on how to fix this on here but cant find one. DOes anyone have a link to it or know how to fix this issue i heard that it has to do with the new java update??
    Reply With Quote  
     

  2. #2  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Oct 2022
    Posts
    11
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11

    i cant figure out what to change this to "SwingUtilities" ive been messing around with it for 2 hrs now. And what E is....

    public final void mousePressed(MouseEvent e) {
    int x = e.getX();
    int y = e.getY();
    int type = e.getButton();
    if (mainFrame != null) {
    Insets insets = mainFrame.getInsets();
    x -= insets.left;// 4
    y -= insets.top;// 22
    }
    resizeChatStartY = -1;
    if (Client.clientSize != 0) {
    int offsetY = Client.clientHeight - 165 - Client.chatAreaHeight;
    if (y >= offsetY - 10 && y <= offsetY + 10) {
    if (x <= 500) {
    resizeChatStartY = y;
    }
    }
    }
    if (type == 2) {
    mouseWheelDown = true;
    mouseWheelX = x;
    mouseWheelY = y;
    return;
    }

    is it mouseevent e?
    Reply With Quote  
     

  4. #4  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Quote Originally Posted by youer34 View Post
    i cant figure out what to change this to "SwingUtilities" ive been messing around with it for 2 hrs now. And what E is....

    public final void mousePressed(MouseEvent e) {
    int x = e.getX();
    int y = e.getY();
    int type = e.getButton();
    if (mainFrame != null) {
    Insets insets = mainFrame.getInsets();
    x -= insets.left;// 4
    y -= insets.top;// 22
    }
    resizeChatStartY = -1;
    if (Client.clientSize != 0) {
    int offsetY = Client.clientHeight - 165 - Client.chatAreaHeight;
    if (y >= offsetY - 10 && y <= offsetY + 10) {
    if (x <= 500) {
    resizeChatStartY = y;
    }
    }
    }
    if (type == 2) {
    mouseWheelDown = true;
    mouseWheelX = x;
    mouseWheelY = y;
    return;
    }

    is it mouseevent e?
    yes it’s MouseEvent e, also make sure you import SwingUtilities: https://www.rune-server.ee/runescape...ml#post5658202
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Oct 2022
    Posts
    11
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Corey View Post
    yes it’s MouseEvent e, also make sure you import SwingUtilities: https://www.rune-server.ee/runescape...ml#post5658202
    thanks bro fixed it
    Reply With Quote  
     

  6. Thankful user:



Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 0
    Last Post: 07-18-2016, 08:49 PM
  2. Replies: 1
    Last Post: 12-29-2011, 01:15 PM
  3. [317] Make Cheat Clients not be able to Attack Shops [Delta]
    By Original Majin Goten in forum Snippets
    Replies: 20
    Last Post: 11-25-2010, 06:30 PM
  4. Not being able to delete our own topics
    By Zahhak in forum Complaints
    Replies: 6
    Last Post: 12-22-2009, 08:57 PM
  5. Replies: 4
    Last Post: 04-05-2008, 04:40 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •