Jump to content

How do I make my paint show up?


Recommended Posts

Posted (edited)

So I had something more complicated made up, but nothing was showing up so I made this real quick just to check and it doesn't show up when I start the script... What am I doing wrong?

public void onPaint(Graphics g1) {
    	
        Graphics2D g = (Graphics2D)g1;
        
        g.drawString("GP/HR:", 364, 376);
        g.setColor(Color.WHITE);
        g.setFont(new Font("Ariel", Font.PLAIN,14));
        g.drawString("Gold made: ", 25, 50);
    }

 

Edited by Russian_Savage

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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