Hello. I need to use a datePicker, and I found the one made by TOEDTER ( http://www.toedter.com/en/jcalendar/ ). It seems pretty good, and mainly just what I need, but I don't know how to use it. I developed my project in Netbeans, but the problem is that I create all my components manually (ex: JTextField f= new JTextField()), and place them on the screen and assign actions by writing code, and the tutorials that I found that teach you how to use JCalendar involve adding the JCalendar to the palette and put it on your frame through drag and drop. Having the project (it has a jar file where all the JCalendar classes are included), how can I include it in my own application? I don't know, maybe it can be included with something similar to "import javax.swing.*;" ?
After you've added the JAR file to your project's class path, that's indeed all you need to do - import the right class(es). You would need to import at least com.toedter.calendar.JCalendar; you can then use any of JCalendar's constructors to create your instance.