In my application, i have many tabpane. In the first tabpane, i have a graph editor..and in other i have treeview, listview, and many textfields. I would like to save to xml file all data for treeview, listview and Textfield.
For saving the graph i use this method :
public void loadFromFile(final GraphEditor graphEditor) { final Scene scene = graphEditor.getView().getScene(); if (scene != null) { final File file = showFileChooser(scene.getWindow(), false); if (file != null) { loadModel(file, graphEditor); } } } How can i process for other tabpane to save data ?
Thank you for your help.
No comments:
Post a Comment