LWUIT ships with great Resource Editor but this doesn't allow your resources definitions to be versioned or edited easily.
So I'm using the ANT task and editor.jar to build my resource bundles from my IDE (Netbeans).
This works great for simple declarations as found in the docs and the demo application.
Example from LWUIT demo:
bgColor= 313131
fgColor= ffffff
sel#bgColor= 555555
sel#fgColor= 99cc00
font= proportionalSmall
sel#font= boldMonospace
ComboBox.bgColor= 555555
ComboBox.fgColor= ffffff
ComboBox.sel#fgColor= 99cc00
ComboBox.font= proportionalSmall
Form.bgImage=business_bg.jpg
Menu.bgColor= 555555
Menu.sel#bgColor= 555555
Menu.fgColor= ffffff
Menu.sel#fgColor= 99cc00
Scroll.bgColor= 111111
Scroll.sel#bgColor= 242627
Scroll.fgColor= AAAA00
But how do I define complex gradients and borders with images as in the Resource Editor?
Thanks! ;-)