SWT and JFace
Ranked #5,114 in Computers & Electronics, #104,069 overall
The Standard Widget Toolkit (SWT) and JFace libraries are used to develop graphical user interfaces (GUIs) for the Eclipse environment, and also to develop stand-alone GUI native applications.
Contents at a Glance
A gentle introduction to SWT and JFace
- How to create a simple SWT application
- In this first article of A gentle introduction to SWT and JFace, find out how to create a simple Standard Widget Toolkit (SWT) application using Java, Eclipse, and the SWT and JFace libraries. Also learn how to create simple SWT GUIs using basic controls and layouts.
- How to use combo, list, table, and tree controls
- This installment of A gentle introduction to SWT and JFace expands on what you've learned about creating simple Standard Widget Toolkit (SWT) applications using Java technology, Eclipse, and the SWT and JFace libraries. This installment shows you how to use combo, list, table, and tree controls, as well as form layouts and reusable helper methods.
- How to use TabFolder, Canvas, and StyledText
- This installment of A gentle introduction to SWT and JFace expands on what you've learned about creating applications using Java technology, Eclipse, and the SWT and JFace libraries. Find out how to use tabular tree, canvas, styled text, slider, spinner, scale and other controls, as well as stack layouts.
- How to use ToolBars and SashForms
- This installment of A gentle introduction to SWT and JFace expands on what you've learned about creating applications using Java technology, Eclipse, and the SWT and JFace libraries. This installment shows you how to use ToolBars, CoolBars, Trays, SashForms, Links, and other controls, as well as several dialog types.
Components
View and Model
- How to use the JFace Tree Viewer
- The goal of this article is to teach you how to use TreeViewers in your Eclipse plug-ins or stand-alone JFace/SWT applications. We'll start with a simple example and progressively add functionality.
- Building and delivering a table editor with SWT/JFace
- The JFace API provides several classes that can be used to build editable table views. In this article, we present a fairly extensive example that exercises the JFace and SWT classes needed to implement a table with cell editors for check-boxes, free text and combo-boxes. We also show how to package and deliver the classes into a stand-alone (non-Eclipse) Java application.
Layouts
- 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.
- Creating Your Own Layouts
- -
ActiveX
- 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.
- Integrate ActiveX controls into SWT applications
- With the Standard Widget Toolkit (SWT), you can develop a stand-alone Java application that feels and operates like a native application. If you've spent any time developing Java client-side applications for Windows, you've probably wanted to integrate some native Windows components into your applications. SWT, part of the developing Eclipse Project, fulfills this need by giving you a way to easily leverage and integrate ActiveX controls within a stand-alone SWT application.
- Get events from IE control
- OLE and ActiveX example: get events from IE control
Deployment
- Deploy an SWT application using Java Web Start
- At some point in the development process of an SWT application -- typically after a basic prototype is operational -- concerns about the deployment process arise. Unlike traditional Java applications, SWT applications require some operating system-specific libraries to be loaded before an application can operate. While the ongoing deployment and maintenance of these libraries might seem like a headache, rest assured there is a solution -- Sun's Java Web Start. The marriage of SWT with Java Web Start provides powerful tools to deploy great-looking client-side Java applications.
Other Resources
- The SWTSwing project
- SWTSwing is a port of the SWT graphical toolkit to Swing. It brings portability, a bridge between Swing and SWT components, look and feel support and much more.
- SWT Designer
- Designer is a powerful and easy to use two-way Java GUI designer based on Eclipse SWT technology. It is very easy to create Java GUI applications without spending a lot of time writing code to display simple forms. With SWT Designer you can create complicated windows in minutes. Use the visual designer and Java code will be generated for you. You can easily add controls using drag-and-drop, add event handlers to your controls, change various properties of controls using a property editor and much more.
Reader Feedback
submit
-
Reply
-
jammes12
Jan 28, 2012 @ 3:10 am | delete
- This blog post is excellent probably because of how well the subject was developped. I like some of the comments too though I would prefer we all stay on the suject in order add value to the subject! Phil Wane
Birthday Gifts
Anniversary Gifts
-
-
Reply
-
the_nezter
Jan 3, 2011 @ 9:48 am | delete
- Great lens, and well layed out, many thanks!
Free Windows 7 Themes
-
-
Reply
-
FamousArt
Sep 28, 2010 @ 4:34 pm | delete
- interesting lens and good job from lensmaster..thanks
-----------------------------------------------------------------------------
Sally Menke | top music | movie reviews | paintings art
-
-
Reply
-
FamousArt
Sep 28, 2010 @ 4:35 pm | delete
- interesting lens and good job from lensmaster..thanks
-----------------------------------------------------------------------------
Sally Menke | top music | movie reviews | paintings art
-
-
Reply
-
jasmine khalila haq
Jun 1, 2009 @ 8:56 am | delete
- hi jface you lkie yu gi oh and yu gi oh gx
-
- Load More
by Crazy
Crazy
Software architect
- 3 featured lenses
- Winner of 3 trophies!
- Top lens » Embedded Scripting Engines forJava
Feeling creative?
Create a Lens!
Explore related pages
- Open Source Business Intelligence Open Source Business Intelligence
- Creating basic GUI's in Java with JFrame Creating basic GUI's in Java with JFrame
- Cross Platform GUI Programming Cross Platform GUI Programming
- Stanford Programming Methodology Course Online Stanford Programming Methodology Course Online
- Using StringTokenizer in Java Using StringTokenizer in Java
- Open University Computing & IT with Mathematics BSc (Hons) B67 Open University Computing & IT with Mathematics BSc (Hons) B67

