Standard Widget Toolkit
표준 위젯 툴킷(SWT, Standard Widget Toolkit)은 이클립스에서 사용하고 있는 자바기반의 위젯 툴킷(Widget Toolkit)이다. 처음에 이 툴킷은 IBM이 개발되었으나 지금은 이클립스를 개발하는 이클립스 재단(Eclipse Foundation)이 유지 보수하고 있다. 이 툴킷은 이클립스 공중 사용 허가서(Eclipse Public License)에 따라 배포되고 있다.
SWT Packages
Template:org.eclipse.swt | SWT constants and error handling support. |
Template:org.eclipse.swt.accessibility | SWT Accessibility. |
Template:org.eclipse.swt.awt | SWT AWT embedding support. |
Template:org.eclipse.swt.browser | SWT Browser widget. |
Template:org.eclipse.swt.custom | SWT Custom widgets. |
Template:org.eclipse.swt.dnd | SWT Drag and Drop support. |
Template:org.eclipse.swt.events | SWT typed listener support. |
Template:org.eclipse.swt.graphics | SWT graphics classes. |
Template:org.eclipse.swt.layout | SWT layout classes. |
Template:org.eclipse.swt.ole.win32 | SWT Win32 OLE implementation classes. |
Template:org.eclipse.swt.opengl | SWT OpenGL support. |
Template:org.eclipse.swt.printing | SWT Printing support classes. |
Template:org.eclipse.swt.program | SWT Program support class. |
Template:org.eclipse.swt.widgets | SWT widget public API classes. |
SWT Tutorial Index
Troubleshooting
SWT와 관련된 문제점 해결방법을 정리한다.
SWTException: Invalid thread access
안드로이드와 같이 UI갱신을 위해서 UI스레드에서 접근해야 한다. 그렇지 않으면 아래와 같은 메세지가 출력된다.
이 현상을 해결하기 위해선 아래와 같이 갱신코드를 적용해야 한다.
Libraries
- KTable: KTable is a custom SWT table widget that provides a flexible grid of cells to display data.
- Agile Grid: Agile grid is a complete new implementation of custom table for Java SWT applications, which uses the structure and some code fragments from the JFace table viewer.
- swtgraph: The SWT Graph project is a collection of custom-draw canvas developed to solve some user interface aspects when you need to represent advanced data interactively.
- NatTable: NatTable is a custom table/grid widget which based on the SWT library.
- RCP Toolbox: A UI input validation framework; lightweight yet powerful. A number of custom widgets, composites and other helpful classes to be used when developing Eclipse SWT, JFace or RCP applications.
- Nebula Project: Nebula is a place where different Eclipse-Projects and Independent developers collaborate on building Custom SWT widgets and reuseable UI-Components useable in UI-Applications built using SWT, JFace and RAP.
- PFGrid-Toolkit SWT: Empower your UI with our Winforms and SWT controls!
Favorite site
Guide
- SWT/JFace 사용을 위한 설치 및 세팅
- 이클립스 SWT 기초강좌
- eclipse에서 swt 사용하기 #1
- eclipse에서 swt 사용하기 #4 (Java Project 에 SWT 등록과 프로젝트를 생성)
- Java SWT Event
- SWT/JFace 닫기 누를때 메시지 박스 나오게 하기
- Understanding Layouts in SWT 2
- Painting in Java SWT
- [추천] Creating Your Own Widgets using SWT 3
- SWT에서의 이벤트 처리 4
- SWT Transform