public void paint(Graphics2D g){
		if(m.getRenderMode() == Main.RENDER_MODE_HIGHSCORES){
			g.setColor(Color.white);
			g.fillRect(0, 0, m.getWidth(), m.getHeight());
			
			g.setColor(Color.black);
			g.setFont(new Font("Arial", Font.PLAIN, Game.PLATFORM_HEIGHT*2));
			String str = m.getLocalization().getWord("highscores");
			g.drawString(str, m.getWidth()/2-g.getFontMetrics().stringWidth(str)/2, g.getFontMetrics().getHeight());
			for(int x=0;x<scores.length;x++){
				g.drawString((x+1)+". "+scores[x].getName(), 50, 150+x*50);
				g.drawString(""+scores[x].getScore(), m.getWidth()-50-g.getFontMetrics().stringWidth(""+scores[x].getScore()), 150+x*50);
			}
			reset.paint(g);
			returnu.paint(g);
		}
		if(m.getRenderMode() == Main.RENDER_MODE_HIGHSCORE_ENTER){
			g.setColor(Color.white);
			g.fillRect(0, 0, m.getWidth(), m.getHeight());
			
			g.setColor(Color.black);
			g.setFont(new Font("Arial", Font.PLAIN, Game.PLATFORM_HEIGHT*2));
			String str = m.getLocalization().getWord("enteryourname");
			g.drawString(str, m.getWidth()/2-g.getFontMetrics().stringWidth(str)/2, m.getHeight()/2-g.getFontMetrics().getHeight());
			g.drawString(currentString, m.getWidth()/2-g.getFontMetrics().stringWidth(currentString)/2, m.getHeight()/2+g.getFontMetrics().getHeight());
			g.fillRect(m.getWidth()/2-Game.PLATFORM_WIDTH*3, m.getHeight()/2+g.getFontMetrics().getHeight()+2, Game.PLATFORM_WIDTH*6, 4);
			submit.paint(g);
			returnu.paint(g);
		}
	}