You have a misconception about Gnome 3.x. The system tray is located on the bottom right corner and works fine with the supplied code example. So the "SWT" is located in your application title bar; the menu shown is the application menu with a quit menu item inserted by default.
Your screenshot shows the upper left corner of the desktop. "SWT" is a default fallback value of applications created with SWT. Whilst testing I was suprised that it doesn't correspond to the title of the (active) window. I suppose this is a bug. Technical details on how the application title is determined can be found in this question (Python and PyGTK; some external references): How to set application title in Gnome Shell?