Russian_Savage Posted August 13, 2015 Posted August 13, 2015 (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 August 13, 2015 by Russian_Savage
Flamezzz Posted August 13, 2015 Posted August 13, 2015 public void onPaint(Graphics2D g) { I think the issue is you're not overriding properly 2
Russian_Savage Posted August 13, 2015 Author Posted August 13, 2015 public void onPaint(Graphics2D g) { I think the issue is you're not overriding properly Oh jesus fuck........ I hate when simple shit like that happens..... thanks
Khaleesi Posted August 13, 2015 Posted August 13, 2015 (edited) public void onPaint(Graphics2D g) { I think the issue is you're not overriding properly This ^ Use Graphics2D instead of Graphics Edited August 13, 2015 by Khaleesi
Russian_Savage Posted August 13, 2015 Author Posted August 13, 2015 This ^ Use Graphics2D instead of Graphics gotchya. Can't believe i missed that shit. Thanks!
Bobrocket Posted August 13, 2015 Posted August 13, 2015 Also: Ariel -> Arial We want the font, not the disney princess 2