Namespaces
Variants
Actions

Customizing the look and feel of Command menu items using Java ME

Jump to: navigation, search



Article Metadata

Article
Created: User:Technical writer 2 (05 Oct 2006)
Last edited: hamishwillee (14 Jun 2012)

Overview

Customizing the look and feel of Command menu items

Description

There is no way to customize commands using standard LCDUI components.
You can, however, customize your application's GUI with a third-party package; one of the most notable is J2ME Polish, which you can find at http://www.enough.de/products/j2me-polish/.
It implements the MVC framework, allowing you to separate your business logic code from the application UI. This means that you can use J2ME Polish components, create new ones based on existing components, and use skins so your application can have different look and feel without making you change the source code. Note, however, that Nokia Technical Support System cannot give support for the tool since it is a third-party framework.
If the standard LCDUI components or the third-party UI packages do not provide an acceptable solution for you, you can create the whole user interface from scratch using the Canvas class. In this case you need to take care of rendering all the UI components on the screen and implementing their behavior yourself. You also need emulate the user selecting a command by checking the softkey presses instead of using the CommandListener approach.

This page was last modified on 14 June 2012, at 07:12.
133 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved