title: Is there a way to make a non deep copy of a JPanel
body: <p>Alright I have a JPanel (I'm using NetBeans and swing) that I would like to make a copy of and use it in another tab, meaning it uses the same layout as the other panel but I dont want to make a deep copy of it. Cause if I make a deep copy of it when I change one I change the other. Is there any way to just make a copy of what it looks like without it having the ties to the original</p>