Chapter 2. Creating Views with SWT

SWT is the widget toolkit that Eclipse uses, which gives performant access to the platform's native tools in a portable manner. Unlike Swing, which is rendered with Java native drawing operations, SWT delegates the drawing to the underlying operating system.

In this chapter, we shall:

  • Create an Eclipse view with SWT widgets
  • Create a custom SWT widget
  • Work with resources and learn how to detect and fix resource leaks
  • Handle focus operations
  • Group components and resize them automatically
  • Create system tray items
  • Display non-rectangular windows
  • Provide scrolling and tabbed navigation

Creating views and widgets

This section introduces views and widgets and uses as its example clocks.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset