0

How to set the format for date Editor of JSpinner? I don't want to set the format in the constructor, I want to set the format later.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
user2628641
  • 2,035
  • 4
  • 29
  • 45

1 Answers1

1

I want to set the format later.

Then create a new editor with the format and add the editor to the spinner when you know what format you want to use.

camickr
  • 321,443
  • 19
  • 166
  • 288