java - Save and load JavaFX TableView using Properties -
is there decent way of doing this? populate tableview enum , use getters add values columns, so:
taskcolumn.setcellvaluefactory(a -> new simplestringproperty(a.getvalue().getassignmentname()));
tableview.getitems().addall(tasks.values());
i have lot of editable rows user change customize way program work, doing everytime program launches tedious.
what want values columns , save them using java.util.properties
, can load tableview user not need re-configure next time program launched.
i have use properties particular assignment i'm open suggestions on how can make simpler.
one of possible solution work csv format saving user data. example of csv work.
other idea json serialization/deserialization.
as mentioned @james_d project details needed.
Comments
Post a Comment