You cannot add a component to multiple containers. When you add the JTextArea to contentPane1, it is added to contentPane1, but when you then add the same JTextArea to contentPane2, it removes it...
Type: Posts; User: aussiemcgr
You cannot add a component to multiple containers. When you add the JTextArea to contentPane1, it is added to contentPane1, but when you then add the same JTextArea to contentPane2, it removes it...