trainux Posted April 18, 2018 Share Posted April 18, 2018 Following the class in the API, would it be something like this? public void onPaint(Graphics g) throws java.lang.InterruptedException { Graphics2D gr = (Graphics2D)g; gr.setColor(Color.WHITE); gr.setFont(new Font("Arial", Font.PLAIN, 10)); gr.drawString("Script Choop", 25, 50); } I do not understand why it is not shown. Should I call him at some point? First of all, Thanks. Link to comment Share on other sites More sharing options...
Deceiver Posted April 18, 2018 Share Posted April 18, 2018 put in ur class that extends Script @Override public void onPaint(Graphics2D paint) { paint.setFont(font); paint.setColor(color); } 1 Link to comment Share on other sites More sharing options...
trainux Posted April 18, 2018 Author Share Posted April 18, 2018 21 minutes ago, Deceiver said: put in ur class that extends Script @Override public void onPaint(Graphics2D paint) { paint.setFont(font); paint.setColor(color); } Thanks, solved. 1 Link to comment Share on other sites More sharing options...