Using JDateChooser From Your NetBeans Palette

Although JCalendar or JDateChooser is not a built-in Netbeans component, we can use this as a custom component from Netbeans palette.

Follow the step by step process to add JDateChooser to the Netbeans palette.

1. First of all download jcalendar-1.4.jar from here.

2. Now right click on Netbeans Palette window and select “Palette Manager”.

3. From “Palette Manager” window click on “Add from JAR”.

4. Now browse jcalendar-1.4.jar file you downloaded from step one and click next.

choose jcalendar jar

5. Select all the files, click next, click finish.

jcalendar palette

You have successfully add JDateChooser to the Netbeans palette.

How to use:
You can use JDateChooser from the palette by simply drag and drop.
But don’t forgot to add jcalendar-1.4.jar file to your class path.


You can also change the date format by using-


You can retrieve and format date form jDateChooser1 using the following code

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault());
     String d = sdf.format(jDateChooser1.getDate());


Hello! I am Md. Abdul Bari; founder and admin of javaknowledge; currently providing training as a J2EE faculty in The Computers Ltd. Dhaka, Bangladesh under an IT Scholarship project provided by IDB-BISEW. I am a self learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.

More Posts - Website

Follow Me:
TwitterFacebookGoogle Plus

49,311` Total Views


Leave a Reply

Your email address will not be published. Required fields are marked *

6 − = four