simple jpanel and removed duplicate parent child methods