Sun Microsystems J2ME manual Protection Domains, MIDlet suite permissions

Models: J2ME

1 134
Download 134 pages 62.02 Kb
Page 62
Image 62

In the J2ME Wireless Toolkit, you can add these permission attributes to a project by clicking on the Settings... button in KToolbar. Select the Permissions tab. The MIDlet-Permissionsbox shows permissions which the MIDlet must possess, while the MIDlet-Permissions-Optbox contains permissions that the MIDlet would like to have but does not need absolutley.

FIGURE 25 MIDlet suite permissions

To add a permission to either box, click on Add and choose the permission you want to add. To remove a permission, highlight it and click on Remove.

6.2Protection Domains

The J2ME Wireless Toolkit includes four protection domains:

50 J2ME Wireless Toolkit User’s Guide • October 2004

Page 62
Image 62
Sun Microsystems J2ME manual Protection Domains, MIDlet suite permissions