atoo Posted November 16, 2015 Share Posted November 16, 2015 (edited) After hours on working on my powerchopper i finally got it to work (thanks everyone who helped me) But now i just want to add one single thing before im done for today, Is it possible to make an simple chair in onPaint(Graphics2D g) that Will show My mouse I have googled it but could not seem to find anything. Edited November 16, 2015 by atoo Quote Link to comment Share on other sites More sharing options...
Apaec Posted November 16, 2015 Share Posted November 16, 2015 Have a snippet for a simple cross which I use in my unicows script: @Override public void onPaint(Graphics2D g) { g.setRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON)); //anti aliasing g.drawLine(script.mouse.getPosition().x - 5, script.mouse.getPosition().y + 5, script.mouse.getPosition().x + 5, script.mouse.getPosition().y - 5); //line 1 g.drawLine(script.mouse.getPosition().x + 5, script.mouse.getPosition().y + 5, script.mouse.getPosition().x - 5, script.mouse.getPosition().y - 5); //line 2 } apa 1 Quote Link to comment Share on other sites More sharing options...