I have set up my JSpinner code like the following which is working just fine, however, when I try to read its selected value like "jSpinner_HourlyStartingTi
e()". It doesn't return the Date value for some reason. Any ideas??! I want to check the current time against the selected time to see it is in the present or future ot not!
jSpinner_HourlyStartingTime = new javax.swing.JSpinner(new SpinnerDateModel());
jSpinner_HourlyStartingTime.setName("jSpinner_HourlyStartingTime"); // NOI18N
// Code adding the component to the parent container - not shown here
JSpinner.DateEditor timeEditorHourly = new JSpinner.DateEditor(jSpinner_HourlyStartingTime, "HH:mm:ss");