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
  • 203,806
  • 29
  • 246
  • 1,045
Adam
  • 8,752
  • 12
  • 54
  • 96

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
  • 203,806
  • 29
  • 246
  • 1,045