PacktLib: LWUIT 1.1 for Java ME Developers

LWUIT 1.1 for Java ME Developers

Credits

About the Author

About the Reviewers

Preface

Introduction to LWUIT

Why we need the LWUIT

LWUIT overview

Widgets

The underlying support elements

Functionalities

The Basic architecture

LWUITImplementation—the foundation of LWUIT

The Display class

Summary

Components

The LWUIT bundle

Getting equipped

Hello LWUIT!

Deploying an application

The Component class

The Graphics class

Summary

The Container Family

The Container

The form

The Dialog

The Calendar

The TabbedPane

Style for the future

Summary

The Label Family

The Border class

The Label

The Button class

The CheckBox

The RadioButton and ButtonGroup

Summary

List and ComboBox

The list

The ComboBox

Summary

TextArea and TextField

The TextArea

The TextField class

Summary

Arranging Widgets with Layout Managers

Layout class

The LayoutStyle class

BorderLayout

BoxLayout

CoordinateLayout

FlowLayout

GridLayout

GroupLayout

Summary

Creating a Custom Component

The making of a component

Enhancements

Summary

Resources Class, Resource File and LWUIT Designer

The LWUIT Designer

The Resources class

The SampleResource demo

Summary

Using Themes

Working with theme files

Theming custom components

Manual styling versus theming

Theming on the fly

New version of the LWUIT Designer

Summary

Adding Animations and Transitions

Animations

Transition

Authoring transitions

Summary

Painters

The Painter interface

The DemoPainter application

Drawing a multi-layered background

Using a glass pane

Summary

Effects and Logging— Useful Utilities

Using Effects

Logging with LWUIT

Customizing Log

Summary