@Override
		public void onRepaint(Graphics g1) {
	        Graphics2D g = (Graphics2D)g1;
	        Variables.expGained = Skills.getExperience(Skills.HERBLORE) - Variables.startExp;
	        Variables.currentLevel = Skills.getLevel(Skills.HERBLORE);
	        Variables.experienceHour = (int) (Variables.expGained * 3600000D / (System
	                        .currentTimeMillis() - Variables.startTime));
	        Variables.potionsHour = (int) (Variables.potionsMade * 3600000D / (System
	                        .currentTimeMillis() - Variables.startTime));
	       
	        g.setColor(Color.YELLOW);
	        g.drawLine(Mouse.getX() - 10, Mouse.getY(), Mouse.getX() + 10, Mouse.getY());
	        g.drawLine(Mouse.getX(), Mouse.getY() - 10, Mouse.getX(), Mouse.getY() + 10);
	        g.setBackground(Color.GREEN);
	        g.setColor(new Color(0, 0, 0, 85));
            g.fillRoundRect(5, 20, 150, 144, 15, 25);
            g.setColor(Color.WHITE);
            g.drawString(Variables.runTime.toElapsedString(), 15, 35);
            g.drawString("Exp Gained: " + Variables.expGained, 15, 50);
    	    g.drawString("Current Level:" + Variables.currentLevel, 15, 65);
    	    g.drawString("Exp per hour: " +  Variables.experienceHour, 15, 80);
    	    g.drawString("TNL: " + Time.format(Variables.sd.timeToLevel(Rate.HOUR, Skills.HERBLORE)), 15, 95);
    	    g.drawString("Status: " + Variables.status, 15, 110);
    	    g.drawString("Version: " + Variables.VERSION, 15, 125);
    	    if(Variables.whatToDo == 3) {
    	    	g.drawString("Cleaned: " + Variables.potionsMade,15,140);
    	    	g.drawString("Clean per hour: " + Variables.potionsHour,15,155);
    	    }
    	    else if(Variables.whatToDo == 2 || Variables.whatToDo == 1) {
    		    g.drawString("Potions made: "+ Variables.potionsMade ,15, 140);
    		    g.drawString("Potions per hour: " + Variables.potionsHour,15 , 155);
    	    }
			
		}