Azio's World

Powered by Blogger.
How to add JCalendar component to NetBeans IDE palette


Who wants to implement a datepicker module in your application developed with NetBeans IDE, JCalendar is a Java date chooser bean for graphically picking a date. JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. You will need to download the jcalendar-1.4.zip from here http://toedter.com/jcalendar/ . Jcalendar-1.4.zip file contains all sources, libs and documentation .After downloading “jcalendar-1.4.zip” file, extract it using zip file manager application like winrar or 7zip .Go to exaction location and you can see lot files in it. Locate and open folder named “lib” and you can see the file named jcalendar-1.4.jar. Place jar file in your folder.

Next step is to include the JCalendar component in your NetBeans Palette. Default NetBeans IDE palette looks following screen shot.
 


From Tools menu select Palette > Swing/AWT Components or Right Click on palette and choose Palette Manger. This will open Palette Manger Window that provides a way to organize components in NetBeans palette.


 I suggest to create a new category for your extra components. So click on New Category button in palette manager and create new palette category.




Now click on Add from JAR button and browse to jcalendar-1.4.jar file location. Clicking Next button the dialog box shows containing components of JCalenndar to choose from, that can be add to the palette.




Following dialog is a multi-selection dialog, so you can choose any component you need. Select what you need.





On clicking Next again you will be able to categorize the newly imported components. Select comfort category and press Finish button. After clicking Finish button close the palette manager window.


Now we have JCalendar Component pack in NetBeans palette.

You can easily drag and drop any of this Component to your workspace and use it. When you compile and build the code you will your application jar file along with a lib folder that contains supporting JCalendar file without which the application will not run.







.   
Share
Tweet
Pin
Share
No Comments
Newer Posts
Older Posts

Blog Archive

  • February 2023 (1)
  • May 2021 (2)
  • April 2017 (1)
  • March 2017 (1)
  • February 2017 (1)

Popular Posts

  • How to add JCalendar component to NetBeans IDE palette
    How to add JCalendar component to NetBeans IDE palette Who wants to implement a datepicker module in your application developed with Net...
  • Kruskal’s Minimum Spanning Tree Algorithm
    Spanning tree is a subgraph ,which is also a tree,that has all the vertices that is included in the original graph and they vertices are ...
  • Environment setup for ReactJS
    ReactJS is currently one of the most popular JavaScript libraries developed by Facebook.Its a front-end development library and used for...
  • Triple extortion of ransomware
    Ransomware is a type of malware that encrypts a victim's computer files.The attacker demands money from the victim to restore his comput...
  • Basic Color Theory for web UI/UX
    Across human history, master painters and other artists have earned global recognition for their ability to manipulate colors. In the moder...
  • Anti-patterns in Software Engineering
     Software development is a complex and dynamic field, and it requires the application of various best practices and techniques to ensure tha...

Created with by ThemeXpose