Lightweight User Interface Toolkit
{{Short description|Widget toolkit developed by Sun Microsystems}}
{{Infobox Software
| name = Lightweight User Interface Toolkit (LWUIT)
| screenshot =
| caption =
| developer = Sun Microsystems
| latest release version = 1.5
| latest release date = {{release date|2011|8|11}}
| latest preview version =
| latest preview date =
| operating system = Cross-platform
| language = Java
| genre = Widget Toolkit
| license = GPL linking exception
| website = http://lwuit.java.net/
}}
Lightweight User Interface Toolkit (LWUIT) is a Widget toolkit developed by Sun Microsystems to enable easier Java ME user interface development for existing devices, including not only traditional Java ME environments like mobile phones, but also TVs and set top boxes with features like swing and recently javafx.{{cite web|url=https://www.zdnet.com/article/lwuit-vs-javafx-mobile/|title=article lwuit vs javafx mobile|publisher=}}
History
LWUIT was created by Chen Fishbein of Sun Microsystems Israel development center (SIDC) who started developing LWUIT for an internal project. The project grew at which point Shai Almog joined the project which was announced at JavaOne 2008, following the announcement the project was made open source by Sun under the GPL with ClassPath Exception license and gained wide acceptance within the community.
LWUIT is known as the Lightweight UI Toolkit, where the word lightweight is used as it is used in Swing to indicate a component model that performs all of its own rendering/event handling.
It has also been used a part of the Brazilian digital TV interactivity middleware, [Ginga] specifically in the Ginga-J technology.{{cite web|url=http://img36.imageshack.us/img36/2195/middlewaregingadiagrama.png|archive-url=https://archive.today/20120709111724/http://img36.imageshack.us/img36/2195/middlewaregingadiagrama.png|url-status=dead|archive-date=July 9, 2012|title=Ginga-J diagram including LWUIT|publisher=}}
Architecture
LWUIT is inspired by Swing and supports many of its features including pluggable look and feel, layout managers, etc.{{cite web|url=http://www.techsoftcomputing.com/LWUIT/chapter1.html#d0e638|title=LWUIT is inspired heavily by Swing in its architecture although it is much smaller and arguably simpler|publisher=|access-date=2010-09-07|archive-url=https://web.archive.org/web/20120311215247/http://www.techsoftcomputing.com/LWUIT/chapter1.html#d0e638|archive-date=2012-03-11|url-status=dead}} LWUIT is very different from Swing and has taken on features unavailable in Swing such as theming, painters, animations, etc. However features such as MVC, layout managers, renders and the EDT are directly related to Swing.
LWUIT is based on a Component/Container hierarchy composite architecture. Containers are Components and can be nested to create elaborate layouts. Components can be styled both via external styles/themes and programmatically by developers.
See also
References
External links
- [http://www.oracle.com/us/technologies/java/mobile/lwuit/overview/index.html Lightweight UI Toolkit on Oracle.com] (redirects to the java home page)
- [https://web.archive.org/web/20110305183004/http://www.techsoftcomputing.com/LWUIT/index.html LWUIT developer page on Techsoftcomputing.com] (domain name expired)
{{Java desktop}}
Related projects
- [http://www.codenameone.com Codename One]
- [https://web.archive.org/web/20130514134248/https://projects.developer.nokia.com/LWUIT_for_Series_40 LWUIT for Series 40]