| Author |
spinner question
|
krillian konstatos
Ranch Hand
Joined: Jan 03, 2011
Posts: 47
|
|
hi, all!
I have a question about the ListSpinnerModel and how i can use this to display year selections using
java.util.Date and Calendar classes and methods. I have done this using the SpinnerDateModel class
in the YearSpinnerComponent class i have previously used in one of my projects. Now i need to
provide the user with a default value of "N/A" at the startup of the application so that the date value
in the spinner component always start with the forementioned value. Can someone point me in the
right direction so that i can use date selection in a spinner list model or is there any other way to do this
what i am trying to accomplish? maybe i should use another component for this attempt perhaps
a JComboBox would be a better choice? any tip would be great!
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4165
|
|
|
Would Rob Camick's Combo Box Prompt be useful? Or do you need to allow reselecting "N.A." even after selecting a year?
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: spinner question
|
|
|