Serializing JFXPanel with java.beans.XMLEncoder

Artem Ananiev artem.ananiev at oracle.com
Tue Nov 5 09:21:58 PST 2013


Hi, Lidierth,

could you provide the exception stack trace, please? It would help to 
understand whether you're over-optimistic or not :)

Thanks,

Artem

On 11/5/2013 9:14 PM, Lidierth Malcolm wrote:
> 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
>


More information about the openjfx-dev mailing list