Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX - How to save user settings/configurations?

 
Johnny Spapa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a javafx program, where the user can open a text file, the text file gets stored in a dynamic tableview and the user can add rows/columns, delete rows/columns, convert columns, move columns, change cell value...etc.
How can I save all the user settings/configurations, so that for the next time the user has only to choose the source text-file and the configurations-file and it will be converted automatically..

I don't even know how/where to start..

I have searched for answers, but didn't found anything helpful...
 
Paul Clapham
Sheriff
Posts: 21576
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The usual way to save things like that is using the Preferences classes. That's in the java.util.prefs package; here's a link to a tutorial: Core Java Preferences API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic