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 it.
1. After download, Extract LWUIT_1_3
2. Open ResourceEditor.exe
