×
Namespaces

Variants
Actions

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

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: User:Technical writer 2 (05 Oct 2006)
Last edited: lpvalente (11 Aug 2014)

Overview

This article demonstrates how to customize 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 behaviour 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 11 August 2014, at 22:02.
68 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×