Saturday, 8 June 2013

How to add a JDatePicker in neatbeans.

Click here to order this paper @Essaybay.net. The Ultimate Custom Paper Writing Service
This section shows how to integrate the JDatePicker suite components within NetBeans 5.0.
Create a library
  1. Select Tools|Library Manager to open the Library Manager dialog.
  2. Click the New Library... button under the left pane to open the New Library dialog:
    1. Enter a name (JDatePicker) for the new library in the Library Name field.
    2. Click OK to close the dialog.
  3. Click the Add JAR/Folder... button to open the Browse JAR/Folder dialog:
    1. Select the jdatepicker.jar and jdatepicker-beans.jar files from the directory where you keep them.
    2. Click Add JAR/Folder to close the dialog.
  4. Click OK to close the Library Manager dialog.
Register components in the palette
  1. Select Tools|Palette Manager|Swing/AWT Components to open the Palette Manager dialog.
  2. Click the New Category... button to open the New Palette Category dialog:
    1. Enter a name (JDatePicker) for the new palette category. This new category will contain the JDatePicker suite components.
    2. Click OK to close the dialog.
  3. Click the Add from Library... button to open the Install Components to Palette wizard dialog:
    1. Click the name of the library that contains the components (JDatePicker) from the list. Click Next.
    2. Select all the available components. Click Next.
    3. Click the name of the palette category (JDatePicker) where the components should be installed.
    4. Click Finish to close the dialog.
  4. Click Close to close the Palette Manager dialog.
    You should now see your category in the component palette. When you expand it, icons for the beans you've added will appear. When you are in Design mode you will be able to drop the components on the container you're using.


    Form more  information or sofware development  inbox me ericmutua44@gmail.com

Click here to order this paper @Essaybay.net. The Ultimate Custom Paper Writing Service

No comments:

Post a Comment