LWUIT 1.1 for Java ME Developers

lwuitbook.pngYou may remember October last year when there was an opportunity to write an Lightweight UI Toolkit (LWUIT) book. Well, Biswajit Sarkar took up the challenge and the book has just been published. PACKT publishing have sent me the book for review.

If you don’t know what LWUIT is, it’s a free Java ME library supplied by Sun that allows you to create graphically rich MIDP 2.0 user interfaces.

LWUIT 1.1 for Java ME Developers provides a great reference how to program with LWUIT. It provides an overview of the LWUIT widgets such as Container, Form, Calendar, Dialog, Lable, Button, TextArea and ComboBox and the underlying classes that support them. There are also explanations on more advanced features such as Layout Managers, Custom Components, Themes, Animations and Transitions.

Overall, the book is very readable and well thought out. However, as with many technical books, it doesn’t go into any detail on why you might use this technology or not. It also doesn’t mention LWUIT’s (lesser) applicability to BlackBerry Java ME.

Example source code can be downloaded from PACKT. A sample chapter on using themes is also available. The Book can be purchased from PACKT publishing  or the usual book stores. It’s a ‘print on demand’ book (printed excellently by Lightning Source) that means it will take about 10 days to arrive. Alternatively, you can download the cheaper electronic version.

Incidentally, there’s also a new Sun screencast "Do it with LWUIT" that gives a great high level overview of LWUIT for those considering this technology.