O'Reilly logo

Getting Started with Eclipse Juno by Vinicius H. S. Durelli, Rafael Medeiros Teixeira, Rodrigo Fraxino Araujo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controls

A control is an user-interface element that belongs to a higher-level window. In this section, we are going to describe some of the basic ones in detail, such as labels, texts, lists, layouts, buttons, and combos. These simple controls are commonly used when developing applications using the SWT. In the next chapter, we will extend this section with more advanced controls and examples.

The Label widgets

Labels are static widgets that represent an object that cannot be modified or selected, and can act like a string, image, or separator. They are usually placed in the left-hand side of the screen to describe text fields, act as separators among non-related fields or to place an image.

The following styles can be selected when you create a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required