I have a controller which I want to save to disk. It contains a view I would also like to serialize. The lookAndFeel
however is not serializable. The error I get when trying is:
java.io.NotSerializableException: com.sun.java.swing.plaf.windows.XPStyle
This makes sense, but how do I make it so the ObjectOutputStream
ignores certain variables over which I have no control? I can accept an answer that "you just can't." But I'm hoping there is a way I can do this :) Thanks!