Theme’s generally used for changing the appearance of each components in our application.

A theme is a collection of properties, such as colors, fonts, and images. You can load a theme from a resource file and apply to update all the components in your application.

try {
Resources r =“/res/javaTheme.res”);
} catch (IOException ioe) {
System.out.println(“Couldn’t load theme.”);

we can edit the theme in resource editor.. Download this Here
1. After download, Extract LWUIT_1_3
2. Open ResourceEditor.exe

This article is about: Code Sample, J2ME, LWUIT,


StackTips provides programming tutorials, how-to guides and code snippets on different programming languages. Follow us on Twitter


Please note: We reserve the right to delete comments that contains snarky remarks, offensive or off-topic. To know more read our comments policy.