Passing JPanel to Another Class
First thanks for taking time to read my thread. My problem is I have created a Gui Class that contains multiple JPanels inside another JPanel or ContentPane.
I have just now created another Gui2 Class in the same java project and I would like this new Gui2 Class to read and display the main JPanel or ContentPane from the original Gui Class.
I keep on getting:
Exception in thread "AWT-EventQue-0" java.lang.NullPointerException Errors