Re: Deserializing javafx.event.EventType

2014-06-30 Thread Martin Sladecek
Hi, EventTypes are serializable solely for the purpose of Event serialization (which is serializable because it inherits from java.util.EventObject). When you deserialize Events, the corresponding EventType objects are already initialized, so the EventTypes are correctly mapped. -Martin On 0

Deserializing javafx.event.EventType

2014-06-28 Thread Kay McCormick
Hello, I was poking around in javafx event dispatching and I noted the serialization of EventType. I've serialized MouseEvent.ANY to a file and in trying to deserialize it I got the error: java.io.InvalidObjectException: Cannot find event type "INPUT" (of EVENT) I realize this is because the sta