Saturday 19 November 2016

Eclipse SWT Tutorial

SWT stands for Standard Widget Toolkit, used to develop standalone desktop applications. SWT is tightly integrated with underlying OS platform.

You can download swt.jar file from following location.


Following posts gives an introductory overview of SWT library.

Introduction to SWT

      Hello World Application

Basic Widgets

      Label Widget
            Adding border to labels
      text widget
            Text: Limit the number of characters to be typed
            Text: test box of type password
            Text: Make the text box read only
      Button: Create a button
            Add event handler to button
      List widget
      Combo widget
      Composite widget
      Group widget
      Link widget

Event Handling

      Event Handling
      SelectionListener
      Key listener
      Mouse listeners
      Text listeners
      Focus listeners

Advanced Widgets

      Table Widget
      TabFolder widget
      Slider
      Scale widget
      Progress Bar widget
      Menu and MenuItem widgets
      Adding Accelerators to menu items (Key board short cuts)
      Add listeners to Menu
      Disabling (or) enabling menu items
      ArmListener
      HelpListener
      Popup menus
      Trees
      ToolBars
      CoolBars

Graphics, colors, Fonts, Images and Splash Screen

      Graphics
      Working with colors
      Working with fonts
      Working with images
      Design Splash screen

Dialog Boxes

      Message box
      Color Dialog
      DirectoryDialog
      FileDialog
      FontDialog
      printDialog: Select a printe

Layouts

      Layouts
      FillLayout
      RowLayout
      GridLayout
      FormLayout

JFace

      JFace
      Message Dialog
      ErrorDialog
      Creating Custom Dialogs
      TitleAreaDialog
      GridLayoutFactory

Miscellaneous

      TreeViewer example
      Display system directories in tree view
      Checkbox tree viewer example
      CheckBoxTreeViewer Tutorial
      syncExec Vs asyncExec


Previous                                                 Next                                                 Home

1 comment:

  1. I have to create a combo in swt for multiple values,like i have to select 2 option of hobbies then 2 combo drop down should come with all hobbies and if 3 is being chosen the 3 combo in front of all hobbies should appear ..plz suggest how to implement

    ReplyDelete