View Full Version : SWT Tips

  1. OLE and ActiveX example which gets events from IE control
  2. Embedding Word in an applet
  3. Running a script within IE
  4. Word OLE
  5. Placing an icon with a popup menu on the system tray
  6. Invoking the system text editor on autoexec.bat
  7. Implementing syntax coloring using the StyledText API
  8. Styled Text with highlighted Odd Line
  9. Styled Text Example
  10. StyleRange Demonstration
  11. Creating a splash screen in SWT
  12. Ring Shaped Shell in SWT
  13. Non Rectangular Window in SWT
  14. Open a shell minimized (iconified)
  15. Open a shell maximized (full screen)
  16. Creating a non-rectangular shell to simulate transparency
  17. How to use Radio Buttons
  18. How to use SWT Radio Button
  19. Creating a link widget
  20. Detecting selection events in a link widget
  21. Drawing internationalized styled text on a shell
  22. ControlEditor Example
  23. ControlEditor Demonstration
  24. Canvas Example
  25. ViewForm Example
  26. Detect when the user scrolls a text control
  27. TextField Example
  28. Demonstration of text fields in SWT
  29. SWT Status Bar Demo
  30. ProgressBar Demonstration
  31. Updating a progress bar from the UI thread
  32. Updating a SWT progress bar from another thread
  33. SWT Radial Layout Demo
  34. BorderLayout Demo
  35. SWT StackLayout Demo
  36. SWT Form Layout Demo
  37. SWT FillLayout Demo
  38. SWT RowLayout Demo
  39. SWT GridLayout Demo
  40. Group Demonstration
  41. SelectionListener and DisposeListener Example
  42. FocusListener Demonstration
  43. KeyListener Example
  44. LineBackgroundListener Example
  45. Demonstration of mouse events
  46. Arrow Button Example
  47. Demonstration of Buttons
  48. How to use SWT Buttons
  49. SWT Undo Redo
  50. Implement a simple splitter with a 20 pixel limit
  51. ScrolledComposite Demosntration
  52. Demonstrates printing images
  53. Simple Printing Example
  54. Printing Example
  55. Creating a label with an image
  56. How to resize the Label when the Shell resizes using a Layout
  57. How to resize the Label when the Shell resizes using a Listener mechanism
  58. CLabel Gradient Background
  59. First SWT Label
  60. Simple Form
  61. HTML Form
  62. SWT Text Editor Demo
  63. A simple Java source code viewer
  64. CoolBar Example
  65. CoolBar Demonstration
  66. BusyIndicator Demonstration
  67. Color cells and rows in SWT table
  68. Creating a SWT table with 1,000,000 items
  69. How to insert a SWT table column at an index
  70. How to print selected items in a SWT table
  71. How to remove selected items in a SWT table
  72. How to resize columns as SWT table resizes
  73. Sorting a SWT table by column
  74. How to navigate a SWT table cells with arrow keys
  75. Placing a progress bar in a SWT table
  76. CellEditor Demonstration
  77. Simple Table Example
  78. TableEditor Demonstration
  79. TableTree Demonstration
  80. Displaying ASCII Codes in a table
  81. Displaying a table in SWT
  82. Inserting a SWT tree item at an index
  83. How to print selected items in a SWT tree
  84. How to create a SWT Tree
  85. TreeViewer Demonstration
  86. CheckboxTreeViewer Demonstration
  87. TreeEditor Demonstration
  88. How to create a TableTree in SWT
  89. SWT Tree Simple Demonstration
  90. How to limit selection to items that match a pattern in SWT Tree
  91. Detecting Mouse Down In SWT Tree Item
  92. How to create a SWT Tree with multi columns
  93. Creating and initializing a SWT spinner widget
  94. Floating point values in SWT Spinner
  95. How to use SWT Spinner
  96. How to use Scale in SWT
  97. How to use JFace Preferences and Field Editors
  98. JFace Preferences Demonstration
  99. Fill a menu dynamically when menu is shown
  100. SWT Menu Example
  101. How to use SWT menu and menu event
  102. SWT Font Registry Example
  103. Creating a non-editable combo box
  104. HTML Explorer based on JFace
  105. How to modify HTML title tag
  106. Creating a tabbed display with a single tab
  107. Creating a tabbed display with four tabs and a few controls
  108. SWT Text Editor
  109. Demonstrating SashForm
  110. SashForm Example
  111. Demonstration of PopupList
  112. Sample ListViewer
  113. Demonstration of ListViewer
  114. JFace's ErrorDialog Demonstration
  115. JFace's InputDialog Demonstration
  116. JFace's IconAndMessageDialog Demonstration
  117. JFace's MessageDialog Demonstration
  118. JFace's ProgressMonitorDialog Demonstration
  119. Focus Traversal Demo in SWT
  120. Simple DND (Drag and Drop) Example
  121. SWT DND (Drag and Drop) comprehensive Example
  122. How to copy and paste data with the clipboard
  123. Enabling/disabling menu depending on clipboard content availability
  124. SWT Clipboard Example
  125. First JFace application
  126. JFace Window
  127. Simplest SWT application
  128. Simplest ApplicationWindow Example
  129. An address book, using a wizard to add a new entry
  130. Creating a flat tool bar with images
  131. How to create tool bar (wrap on resize)
  132. How to place a combo box in a tool bar
  133. How to place a drop down menu in a tool bar
  134. Creating a complex toolbar in SWT
  135. Creating a toolbar in SWT
  136. How to use ToolBar in SWT
  137. How to embed Swing and AWT in SWT
  138. How to convert between SWT Image and AWT BufferedImage
  139. How to use SWT Sliders
  140. How to use vertical and horizontal sliders in SWT
  141. How to use Slider in SWT
  142. Sash Example
  143. How to create a sash in SWT
  144. How to get password in SWT
  145. How to use SWT List Selection Event
  146. SWT List Example Demonstration
  147. Single and Multi Selection Lists
  148. How to use List in SWT
  149. How to draw images in SWT
  150. Displaying an image in a group
  151. Rotating and flipping an image in SWT
  152. How to create an icon in memory
  153. How to capture a widget image with a GC
  154. How to use DirectoryDialog to prompt for a directory
  155. How to use FileDialog to prompt for a file name (to save)
  156. File Viewer in SWT
  157. Dir File Selection
  158. Prevent escape from closing a SWT dialog
  159. Yes No Icon MessageBox in SWT
  160. Demonstration of the MessageBox class
  161. Demonstration of the custom InputDialog class
  162. Demonstration of the DirectoryDialog class
  163. Demonstration of the ColorDialog class
  164. Demonstration of the FontDialog class
  165. How to create your own dialog classes in SWT
  166. Demonstration of the FileDialog
  167. Dialog Examples in SWT
  168. Creating a Number Input Dialog in SWT
  169. MessageBox Example in SWT
  170. How to create a Dialog Shell
  171. Creating a caret in SWT
  172. Creating a caret (using an image) in SWT
  173. How to draw directly on an SWT Control
  174. Drawing lines and polygons with different cap and join styles
  175. Drawing with transformations, paths and alpha blending
  176. SWT OpenGL snippet: draw a square
  177. SWT Graphics Example
  178. Demonstration of drawing ovals in SWT
  179. Demonstration of animation in SWT
  180. Demonstration of drawing lines in SWT
  181. Demonstrates how to draw vertical text in SWT
  182. How to display information about the display device in SWT
  183. How to Draw Round Rectangles in SWT
  184. Demonstration of drawing points. It draws a sine wave
  185. Demonstration of drawing polygons
  186. Demonstration of drawing an Arc in SWT
  187. Demonstration of animation using double buffering
  188. SWT Animations Example
  189. SWT XOR Example
  190. SWT Draw2D Example
  191. SWT Draw 2D Demonstration
  192. SWT 2D Unicode Example
  193. Use of Java2D on SWT or Draw2D graphical context
  194. SWT 2D Chart: Flowchart