Java Code:
	JPanel sprite = new JPanel();
		sprite.add(new JLabel(north1));
		sprite.setBounds(195,195, north1.getIconWidth(), north1.getIconHeight() );		
		layeredPane.add(sprite,1);
		
		JPanel background = new JPanel();
		background.add(new JLabel(grasstest));
		background.setBounds(0,0,grasstest.getIconWidth(), grasstest.getIconHeight());		
		layeredPane.add(background,2);
this is going to be a game

i want to have a background and an avatar or sprite in the front that moves

the sprite is a transparent .gif, however the background isn't sinking through, the color of the original panel is(grey)


how do i fix this?