Serializing JFXPanel with java.beans.XMLEncoder

Lidierth Malcolm malcolm.lidierth at
Tue Nov 5 09:14:23 PST 2013

When I add a JFXPanel to a Swing hierarchy that is then written to XML 
using java.beans.XMLEncoder, all is well as long as the JFXPanel is empty.
When it has content, I see a NullPointerException.

Before I dig into the origins, am I being over-optimistic? : should I 
expect java.beans.XMLEncoder to cope here?


More information about the openjfx-dev mailing list