public void drawTrade(Graphics g)
	{
		g.setColor(new Color(255,126,0,200));
		g.fillRect(0,0,getWidth(),getHeight());

		g.setFont(new Font("Sanserif",Font.BOLD,18));
		g.setColor(Color.WHITE);

		g.drawString("You",50,70);
		try
		{
			for(int i=0; i<partyPokemon.length; i++)
			{
				if(partyPokemon[i]!=null)
				g.drawString(partyPokemon[i].nickname,50,20*i+100);
				else
				g.drawString("--------",50,20*i+100);
			}
		}
		catch(Exception ignored){}

		g.drawImage(icon,30,offerIndex*20+85,16,16,this);

		if(tradeConfirm)
		{
			g.drawString("Trade!",50,230);
		}

		g.drawString("Friend: "+friendName,550,70);
		try
		{
			for(int i=0; i<friendPokemon.length; i++)
			{
				if(!friendPokemon[i].equalsIgnoreCase("null")&&!friendPokemon[i].equals(""))
				g.drawString(friendPokemon[i],550,20*i+100);
				else
				g.drawString("--------",550,20*i+100);
			}
		}
		catch(Exception ignored){}

		g.drawImage(icon,530,friendOfferIndex*20+85,16,16,this);

		if(friendTradeConfirm)
		{
			g.drawString("Trade!",550,230);
		}
	}