Sunday, February 22, 2009

I was in a need to show a date picker with a java application. After some searching I came into here for a free calendar component.

Might become useful for somebody.

And to show a time picker control, you can use the jspinner itself, nothing extra is required. It amazed me

JSpinner spinner =
new JSpinner(sm);
JSpinner.DateEditor de = new JSpinner.DateEditor(spinner, "hh:mm");

You can do it in netbeans by going into the properties of jspinner and changing the Editor properties from there,

1 Comment:

  1. Accident Lawyer said...
    Accident Need Save Yourself, Save the World For any car automobile accident personal injury Lawyer and Attorney Advice Also, all automobile and car insurance quotes guidance for free

Post a Comment