---
title: "custom swt widgets, a list...(转)"
author: "vencent"
date: "2006-02-21T14:39:00Z"
tags: []
slug: "custom-swt-widgets-a-list"
draft: false
lastmod: "2006-02-21T14:39:00Z"
id: 48798
url: "https://vencent.iteye.com/blog/48798"
---

Everybody knows that the basic native widgets in swt lack a lot of flexibility and features. An approach to solve these shortcomings is to build custom swt widgets that do not rely on native widgets but are custom drawn - the same approach that swing took. A good example is KTable. The custom swt widgets - custom drawn and aggergated native ones - I currently know of are:

- swtplus: [http://swtplus.textdriven.com/](http://swtplus.textdriven.com/)
  
  - PGroup: an expandable group widget
  - PLink: an image hyperlink widget
- Jaret: [http://www.jaret.de/index.html](http://www.jaret.de/index.html)
  
  - timebars: a widget showing intervals in a Gantt chart. The widget implementation is combined for JFC/Swing and the SWT toolkit. Learn more about the timebar widget and it's features here. LICENSE: GPL (commercial license available)
  - table: custom drawn table widget for the SWT toolkit.
  - datechooser: a widget for selecting dates in a classical drop down style featuring the display of holidays and other special days. Learn more
- novocode: [http://www.novocode.com/swt/](http://www.novocode.com/swt/)
  
  - CustomSeparator: Instances of this class are non-native separator lines.
  - FramedComposite: Instances of this class are composites with a border around the contents.
  - Hyperlink: A hyperlink text label.
  - LiveSashForm: Like a regular SashForm, the LiveSashForm lays out its children in a Row or Column
  - SizeGrip: A non-native size grip which looks (and almost feels) like the native Win32 size grip.
- Ktable: [http://sourceforge.net/projects/ktable](http://sourceforge.net/projects/ktable)
  
  - KTable is a custom SWT table widget that provides a flexible grid of cells to display data. Since it is custom-drawn, it does not have the restrictions of the native SWT Table control.
- Gface: [http://gface.sourceforge.net/](http://gface.sourceforge.net/)
  
  - Search Box - Searchable drop-down list ![](http://jroller.com/page/new.jpg)
  - Date Picker - UI widget for visually picking a day in a month.
  - Date Combo - Combo box that opens the date picker to select date
  - Hour Selection Combo - CCombo to select hour in a day
- SWT Dock: [http://tweetypie.doc.ic.ac.uk/~jr200/twiki/bin/view/SWTDock/WebHome](http://tweetypie.doc.ic.ac.uk/%7Ejr200/twiki/bin/view/SWTDock/WebHome)
  
  - Eclipse Docking API (2.1) ported back to Java from .NET.

![](http://www.blogjava.net/Vencent/aggbug/31872.html)

[Vencent Chen](http://www.blogjava.net/Vencent/) 2006-02-21 22:39 [发表评论](http://www.blogjava.net/Vencent/archive/2006/02/21/31872.html#Feedback)