So I'm trying to make my program run faster by doing as much as possible on the server and copying the end result to the client. I'm trying to create a PreviewPanel. PreviewPanel extends JPanel which implements Serializable. However, PreviewPanel contains an object of the FOUserAgent class which is not Serializable. Is there any reason any variable in the PreviewPanel should not be Serializable?