public void paintComponent(Graphics g)
	{
		super.paintComponent(g);

		if(!DONE_IMPORTING)
		{
			if(frames%2==0)
			g.setColor(Color.BLACK);
			else
			g.setColor(Color.WHITE);

			g.fillRect(0,0,getWidth(),getHeight());
			return;
		}

		if (!jsb.getValueIsAdjusting() && !duder)
		jsb.setValue(Integer.MAX_VALUE);
		else if (!duder)
		duder = true;


		userSelected = Battle.userIndex;
		enemySelected = Battle.enemyIndex;

		g.setColor(Color.WHITE);
		g.fillRect(0,0,600,800);

		//paintPokeFont(g,"Pokemon Peach Version",50,100,16);
		switch (battleState)
		{
			case STAND_BY:
				try
				{
					paintStandBy(g);
				}
				catch(Exception ignored){}
				break;
		}
		paintHud(g);

	}