title: Serialize JavaFX components
body: <p>I'm trying to develop a little drag &amp; drop application under Java FX. User will drop JFX components like Buttons, Menus, Labels on certain positions. When done, he will save this layout and later on he will reopen the layout and he will use it again.</p>
  
  <p>Its important to store the information about all objects that are dropped on some position. </p>
  
  <p>I decided to use serialization for this purpose. But I'm not able to serialize JavaFX components. I tried to serialize Buttons, Scenes, Stages, JFXPane but nothing seemed to work (I obtained NotSerializableException).</p>
  
  <p>Any suggestions how to save all the components and then retrieve them ? </p>
  
  <p>P.S.: I was trying to find out some method with FXML but I did not succeed.</p>
  
  <p>Thank you very much for your answers :) </p>