XMLEncoder runtime problem
I'm trying to use XMLEncode for the first time.
I have a simple class TextPanel which extends JTextPane. It overrides the paint() method and adds a setRotation() and getRotation() method. The few member variables all have get/set methods.
When I apply encoder.writeObject() to an instance of TextPanel I get this message:
java.lang.IllegalAccessException: Class sun.reflect.misc.Trampoline
can not access a member ofclass TextPanel with modifiers""
Continuing ...
java.lang.Exception: XMLEncoder: discarding statement XMLEncoder.writeObject(TextPanel);
Continuing ...
Can anyone give me any clues regarding what this message means? It seems to be telling me I don't have the necessary get/set methods, but I do.
Thanks for any help.
--gary

