Jump to content

I can not show onPaint


Recommended Posts

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.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

  • Alek locked this topic
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...