1

I would like to store the state of my JTable (technically I'm using a JXTable if that helps) in some sort of configuration file. My goal is that when a user runs my spreadsheet program, its state (ie which columns are hidden, the column order) will persist between executions.

Are there any built in functions I could use for this? Or any suggestions on what would be a good place to start?

trashgod
  • 200,320
  • 28
  • 229
  • 974
Adam
  • 7,310
  • 11
  • 47
  • 86

1 Answers1

1

Use either of the approaches cited here to persist the data in your TableModel and any desired display state.

Community
  • 1
  • 1
trashgod
  • 200,320
  • 28
  • 229
  • 974