I am new to Java, so any help is greatly appreciated...Thanks in advance.
JFrame-1 is split with JTable and JEditorPane. I create a new JFrame-2 after some events that occur on JFRame-1. JFrame2 also has a JSplitPane implemented( with 2 JTables(1 & 2) and 1 JEditorPane). as soon as i copy the contents of JTabel from frame-1 to Jtabel2 in frame-2. the table disappears from the frame-1, How can i keep the contents of table in frame-1 as well as in frame-2. This is the code i used to split the panes for Frame-2, and during debugging this is where the table(m_clsJTable) from Frame-1 clears.
JSplitPane top = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, new JScrollPane(clsNewJTable), new JScrollPane(m_clsJTable));
JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, top, new JScrollPane(m_clsJEditorPane));