Jump to content

Why is my paint not working?


redeye

Recommended Posts

Hey,

 

I've just come back to make bot scripts again and i was wondering why my paint is not working anymore.. I haven't seen in other scripts the code is any different from mine:

 

public void onPaint(Graphics g)
{
Graphics2D gr = (Graphics2D)g;
gr.setColor(Color.RED);
gr.setFont(new Font("Arial", Font.PLAIN,20));
 
gr.drawString("Ores Mined: " + ore, 215,  50);
g
gr.drawString("Time running: " + uuren(runTime3.getElapsed()) + ":" + minuuten(runTime2.getElapsed()) + ":" + secoonden(runTime.getElapsed()) + ".", 25,  190);
 
gr.drawString("Status: " + status, 25,  210);
 
}
 
Probs im overlooking something... Hope you can help me. 
 
Thanks in regard,
 
Redeye
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...