Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this Book

About the Authors

About the Title

About the Cover Illustration

Chapter 1. Overview of SWT and JFace

1.1. What is SWT/JFace?

1.1.1. Building GUIs with SWT

1.1.2. Simplifying GUI development with JFace

1.2. Looking under the hood

1.2.1. The old standby: Swing

1.2.2. The newcomer: SWT/JFace

1.2.3. The SWT/Swing debate

1.3. SWT/JFace: licensing and platform support

1.3.1. The Common Public License

1.3.2. Platforms supported

1.4. The WidgetWindow

1.5. Summary

Chapter 2. Getting started with SWT and JFace

2.1. Programming in SWT

2.1.1. The HelloSWT program

2.1.2. The Display class

2.1.3. The Shell class

2.2. Programming in SWT/JFace

2.2.1. Model-based adapters

2.2.2. The HelloSWT_JFace program

2.2.3. Coding in JFace and SWT/JFace

2.2.4. The ApplicationWindow class

2.3. Beginning the WidgetWindow application

2.4. Summary

Chapter 3. Widgets: part 1

3.1. Introducing the Widget and Control classes

3.1.1. Understanding the Widget class

3.1.2. Working with Control objects

3.2. Labels

3.2.1. Styles and separators

3.2.2. Label methods

3.3. Involving the user with buttons

3.3.1. Causing action with push buttons and SWT.PUSH

3.3.2. Moving on with arrow buttons and SWT.ARROW

3.3.3. Changing state with toggle buttons and SWT.TOGGLE