added the new jframe foe the player pannel