Magazine
 
Java ME
Step 8: Click the check button to activate the “Product Updates” features.

Step 9: Ultimately, A window appears indicating the successfully completion of installation of WTK2.5.1. Click “Finish” button to exit the installation process.

IV. Now we are ready to create an application with Java Platform ME. Lets create a new project with the following
steps:


Step 1: Go to Windows start panel and choose



“Wireless Toolkit 2.5.1” as: Start > Programs > Sun Java Wireless Toolkit 2.5.1 for CLDC > Wireless Toolkit 2.5.1. The console window appears like this.

Step 2: Now, Click the “New Project” on the

 

toolkit menu bar, then a new project box opens. Fill the appropriate Project name and MIDlet class Name of your choice. After that, click Create Project button.

Step 3: Then a “Settings for project” window appears. For default settings, click OK. It is

Code Description:

In the code below, the data scroller component for a data table has been created that helps to navigate from one set of data to the other by clicking various navigation links. There are three types of links to move one by one, fast forward and move to the last directly. In this example, faststep attribute has been set to the value 2 so fast forward link will take you two page ahead directly. paginatorMaxPages attribute sets the number of pages to be shown in the component to navigate directly clicking on them.



better to choose the default settings for a beginner. However you can choose your own settings too, to affect the build environment for the project.



Step 4: Next appears a window indicating the updated project settings saved in the Console.

Step 5: Now we need to develop a simplest

Oct 2007 | Java Jazz Up | 19
 
previous
index
next
 
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 , 54, 55, 56, 57,

58
, 59, 60, 61, 62, 63 , 64, 65 , 66 , 67 , 68 , 69 , 70, 71, 72, 73, 74, 75, 76, 77, 78,   Download PDF