Differences between SWT and DWT

Package and Module renames

  • packages rename: "org.eclipse.swt" to "dwt"
  • packages rename: "org.eclipse" to "dwtx" for all non-swt packages (jface,...)
  • Renamed every "SWT" to "DWT".

Examples:

  • "org.eclipse.swt.widgets.Button" becomes "dwt.widgets.Button",
  • "org.eclipse.swt.SWT" becomes "dwt.DWT".


Things added or changed in DWT:

  • MessageBox can have null as parent to allow a MessageBox without a Shell
  • There are five new static methods in MessageBox:
    • showMessageBox
    • showInfo
    • showInformation (an alias to showInfo)
    • showWarning
    • showError
  • Not everything has been ported yet.