Pug Posted July 13, 2014 Share 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? Link to comment Share on other sites More sharing options...
Wiz Khalifa Posted July 13, 2014 Share Posted July 13, 2014 (edited) Implement mouselistener Edited July 13, 2014 by Wiz Khalifa Link to comment Share on other sites More sharing options...
Mysteryy Posted July 13, 2014 Share 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 Link to comment Share on other sites More sharing options...
Pug Posted July 13, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Mysteryy Posted July 13, 2014 Share Posted July 13, 2014 thats the badger! thanks dude Im here for yeww. Link to comment Share on other sites More sharing options...