Skip to main content

TimePicker Demo

2 replies [Last post]
miguelm
Offline
Joined: 2005-03-17
Points: 0

Here's a concept demo of a TimePicker component, to complement the JXDatePicker component. Please try it out and let me know what you think.

To run, put the attached .jar file into the same directory as your swingx-1.6.jar file, and run this command (modified for your platform):

java -cp TimePicker.jar:swingx-1.6.jar com.mm.exp.clock.TimeDemo

-- Miguel Muñoz

Notes:

1) Don't be fooled by the L&F buttons on the left. Right now it runs the same on all PLAFs.

2) Yes, you can drag the hands around.

3) I'm open to suggestions.

AttachmentSize
TimePicker.jar39.87 KB

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kschaefe
Offline
Joined: 2006-06-08
Points: 0

Miguel,

I take a look at it soon.  Do you have the source code anywhere?

Karl

miguelm
Offline
Joined: 2005-03-17
Points: 0

I haven't posted the source code yet. I first want to move the UI code to a separate UI class and make some other changes to conform to SwingX conventions.