Pug Posted July 13, 2014 Posted July 13, 2014 getting this error... used to work in my osb1 scripts.. been fiddling and what not but yeh.. brain frazzled. (removing @override makes the method not work btw) lil help?
Wiz Khalifa Posted July 13, 2014 Posted July 13, 2014 (edited) Implement mouselistener Edited July 13, 2014 by Wiz Khalifa
Mysteryy Posted July 13, 2014 Posted July 13, 2014 (edited) getting this error... used to work in my osb1 scripts.. been fiddling and what not but yeh.. brain frazzled. (removing @override makes the method not work btw) lil help? In your onStart method add this. Notice how you can consolidate your code into 2 lines. ^_^ bot.addMouseListener(new MouseListener() {//register a new MouseListener @Override public void mouseClicked(MouseEvent e) { if(minimizeRectangle.contains(e.getPoint())) minimized = !minimized; } @Override public void mousePressed(MouseEvent e) { } @Override public void mouseReleased(MouseEvent e) { } @Override public void mouseEntered(MouseEvent e) { } @Override public void mouseExited(MouseEvent e) { } }); Edited July 13, 2014 by Mysteryy 1
Pug Posted July 13, 2014 Author Posted July 13, 2014 In your onStart method add this. Notice how you can consolidate your code into 2 lines. thats the badger! thanks dude