Getting panel component working