Tutorials J2ME Themes Components in LWUIT

Themes Components in LWUIT

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 = Resources.open(“/res/javaTheme.res”);
UIManager.getInstance().setThemeProps(r.getTheme(“javaTheme”));
} 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

Total
0
Shares
Previous Post
j2me_tutorials_javatechig_featured_image

FileConnection APIs JSR 75 in J2ME

Next Post
j2me_tutorials_javatechig_featured_image

Optimization & Perfomance Tunning

Related Posts
By clicking “Allow All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookie Notice
Allow All