A small cup of SWT
Are you interested in developing applications for the Microsoft® Pocket PC? Are you a desktop developer curious about embedded user interfaces? A well-built embedded application is both user and resource friendly. User expectations are high. Resources are very limited...
ActiveX Support In SWT
OLE Documents, such as Word, Excel or PowerPoint, and ActiveX Controls such as Internet Explorer are COM objects that can be embedded into other applications running on a Microsoft® Windows® platform. This article provides an overview of integrating OLE Documents and ActiveX Controls into an application using SWT.
Creating Your Own Widgets using SWT
When writing applications, you typically use the standard widgets provided by SWT. On occasion, you will need to create your own custom widgets. For example, you might want to add a new type of widget not provided by the standard widgets, or extend the functionality of an existing widget. This article explains the different SWT extension strategies and shows you how to use them.
Drag and Drop Adding Drag and Drop to an SWT Application
Drag and drop provides a quick and easy mechanism for users to re-order and transfer data within an application and between applications. This article is an overview of how to implement Drag and Drop and Clipboard data transfers within an SWT application.
Equipping SWT applications with content assistants
For users of the Eclipse Java editor, content assistants are a well-known feature. You press Ctrl + spacebar, and a window with a set of completion proposals pops up. Selection of a specific proposal opens another window showing a preview of the insertion of the selected proposal. Committing a proposal with the Enter key or a double-click inserts the proposal into the current document. This article shows how you can easily add this feature to any SWT-based application, either a stand-alone application or a plug-in to the Eclipse workbench.
Getting Your Feet Wet with the SWT StyledText Widget
The StyledText widget is a customizable widget that can be used to display and edit text with different colors and font styles. This article presents an overview of the concepts, issues, and rules that you should be aware of when using the StyledText widget.
Graphics Made Simple with SWG for Eclipse
Simplify the task of including business graphics in rich-client applications with Standard Widget Graphics (SWG), a set of standard graphic objects built into the SWT from Eclipse. SWG provides new widget controls and an animation framework that share a common programming model with the existing controls in SWT.
Into the Deep End of the SWT StyledText Widget
The StyledText widget is a customizable widget that can be used to display and edit text with different colors and font styles. In this article we discuss why you might want to customize the StyledText widget and how you would do that. The article assumes you are familiar with the concepts presented in our other article, "Getting Your Feet Wet With the SWT StyledText Widget".
SWT: The Standard Widget Toolkit
SWT is the software component that delivers native widget functionality for the Eclipse platform in an operating system independent manner. It is analogous to AWT/Swing in Java with a difference - SWT uses a rich set of native widgets. Even in an ideal situation, industrial strength cross platform widget libraries are very difficult to write and maintain. This is due to the inherent complexity of widget systems and the many subtle differences between platforms. There are several basic approaches that have helped significantly to reduce the complexity of the problem and deliver high quality libraries. This article discusses one of them, the low level implementation techniques used to implement SWT on different platforms. Examples are drawn from the Windows® and Motif implementations.
SWT: The Standard Widget Toolkit
SWT uses operating system resources to deliver its native
graphics and widget functionality. Allocating and freeing
operating system resources is traditionally an area of
programming that is error prone. Languages that include garbage
collection, such as the Java language, relieve the programmer
from the burden of managing memory, but not from the allocation
and freeing of operating system resources. This article
discusses the simple strategy used by SWT to help application
designers manage operating system resources.
Understanding Layouts in SWT
When writing applications in SWT, you may need to use layouts
to give your windows a specific look. A layout controls the
position and size of children in a Composite. Layout classes
are subclasses of the abstract class Layout. This article shows
you how to work with standard layouts, and write your own
custom layout class.
Computer Graphics World Computer graphics professionals turn to Computer Graphics World to them decide which computer graphics products to purchase to make their job more cost effective! ...
subscribe now