Hi All,
I am stuck with a problem regarding jspinner.
I am using jspinner in following code:
Date date = new Date();
SpinnerDateModel sm = new SpinnerDateModel(date, null, null, Calendar.HOUR_OF_DAY);
jsTime = new JSpinner(sm);
JSpinner.DateEditor de = new JSpinner.DateEditor(jsTime, "hh:mm");
jsTime.setEditor(de);
jsTime.getEditor().setEnabled(false);
currently If I press tab key on the above jspinner, focus get shifted to next control (not in above code). What I want is if I am in hours section and presses a tab key then it should go to minutes section. If I am in minutes section and presses a tab key, it should go to next control.
Till now I tried to get as much information as possible from net. but failed to get a solution to this.
Please help me with this.
thanks & regards,
KK.