Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jspinner Date increment

 
aminur rashid
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code for JSpinner.

Now if i try to increase the value by Up arrow (?) of the spinner, i expect the value to be increased by YEAR as i have set the step value as Calender.Year
But its increased by the Month.
It comes with the default date value 8/20/03 12:31 PM [current date]
Now if i press upper arrow the value 8 is increased instead of 03 [year]
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Works for me. When I click the up arrow I get "8/20/04 8:47 AM".
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic