Change JPanel to Component