Sunday 10 April 2011

Adding LWUIT documentations and library to netbeans


This article to show you how to add LWUIT library to Netbeans libraries and to attach it’s documentation:
1 - Rename your lwuit library to it’s version in small letter and without space (ex:lwuit1.3.jar).

2- Compress lwuit documentations in zip archive with the same lwuit library name (ex: lwuit1.3.zip).

3- Place lwuit library in this url : c:\Program Files\NetBeans 6.9\mobility\modules.

4- Place lwuit library documentations in this url : c:\Program Files\NetBeans 6.9\mobility\modules\docs.

5-Tab on Tools in netbeans select Libraries, Press on new library button, type yor lwuit library name press ok.

6-Tab Classpath and press on add Jar/Folder point on your lwuit 
library which you placed in c:\Program Files\NetBeans 6.9\mobility\modules
7-Tab Javadoc and press on add Jar/Folder point on your lwuit library documentations which you placed in c:\Program Files\NetBeans 6.9\mobility\modules\docs

8-Press OK and use the library in your project and see the documentations folded when you write code from the library.

Kind Regards,
Mohammad Abu Hmead,
Mobile Applications Developer

No comments:

Post a Comment