Does anyone know of any good Java bean (a graphic widget) or use of Swing, that allows a user to choose a time? They only need to select the hour and minute they want, not the second or millisecond etc.
I have found a good date selection bean (JCalendar), but I am in desperate need of one that allows the user to easily select the time.
This could be done by clicking on some kind of clock or graphical element (I don't want the user to manually enter the time because the minutes must go up in fives (e.g. 10:00 or 10:05 or 10:10 etc.)
I have tried using a JSpinner, but this doesn't work because I am not entirely sure how to format it properly so that the user doesn't enter the wrong time (the minutes must go up in 5's, etc.).
At the moment I am using 2 combo box's, one for the hour (from 00 to 23) and one for the minute (from 00 to 55) but I find this annoying to use sometimes, due to misclicking, and it is not very visually attractive or easy to understand.
Can anyone suggest a Java bean that fulfills this need?