Jump to content

OSBot 2.xx MouseListener?


Single Core

Recommended Posts


this.bot.addMouseListener(new java.awt.event.MouseListener() {

@Override

public void mouseClicked(MouseEvent e) {

Point m = e.getPoint();

if (rectanglePaintToggle != null

&& rectanglePaintToggle.contains(m)) {

if (!hidePaint) {

hidePaint = true;

} else {

hidePaint = false;

}

}

}

@Override

public void mouseEntered(MouseEvent arg0) {

}

@Override

public void mouseExited(MouseEvent arg0) {

}

@Override

public void mousePressed(MouseEvent arg0) {

}

@Override

public void mouseReleased(MouseEvent arg0) {

}

});

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...