The light-weight user interface toolkit for Java ME (LWUIT) has been released as open source. Sun has selected GPLv2 and the classpath exception license, which allows developers to link this library statically or dynamically with other modules under other licenses.
LWUIT is a library that helps creating rich Java ME applications through a MVC (model view controller) approach. It supports visual components, theming, transitions, animation etc. Just like JavaFX. But while both LWUIT and JavaFX enable creating a better and more compelling user interface for mobile and other devices, there are really two target generations:
LWUIT will help Java MIDP and Swing developers to enhance the interfaces of new or existing Java ME applications on MIDP 2.0 phones. The LWUIT library which offers pre-made graphical functions and features that developers can quickly and easily assemble into a compelling interface. JavaFX Mobile is targeted at designers and scripters who are looking to create very rich, very immersive experiences across multiple screens like phone, PC, TV, etc. The level of interactivity and animation and control over the presentation is much higher than that enabled by LWUIT. JavaFX Mobile can also run on MSA-enabled devices i.e. smart phones and high end feature phones.
So it is nice to now have LWUIT for sprucing up existing Java ME programs. For new apps I still strongly suggest to consider JavaFX.
