This section shows how to integrate the JDatePicker suite components within NetBeans 5.0.
Create a library
- Select Tools|Library Manager to open the Library Manager dialog.
- Click the New Library... button under the left pane to open the New Library dialog:
- Enter a name (JDatePicker) for the new library in the Library Name field.
- Click OK to close the dialog.
- Click the Add JAR/Folder... button to open the Browse JAR/Folder dialog:
- Select the jdatepicker.jar and jdatepicker-beans.jar files from the directory where you keep them.
- Click Add JAR/Folder to close the dialog.
- Click OK to close the Library Manager dialog.
Register components in the palette
- Select Tools|Palette Manager|Swing/AWT Components to open the Palette Manager dialog.
- Click the New Category... button to open the New Palette Category dialog:
- Enter a name (JDatePicker) for the new palette category. This new category will contain the JDatePicker suite components.
- Click OK to close the dialog.
- Click the Add from Library... button to open the Install Components to Palette wizard dialog:
- Click the name of the library that contains the components (JDatePicker) from the list. Click Next.
- Select all the available components. Click Next.
- Click the name of the palette category (JDatePicker) where the components should be installed.
- Click Finish to close the dialog.
- 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