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? ML