Getting the SWT
As far as we're concerned in this chapter, what's attractive about the SWT is that it includes a Browser class that lets you create Browser widgets. So how do you get the SWT for use in your applications?
The support for the SWT is in a JAR file named swt.jar, and you can get that file simply by downloading the current Eclipse zip/tar.gz file, which contains swt.jar. Navigate to http://www.eclipse.org, click the Downloads button, and select the compressed file for your operating system. As of this writing, that's eclipse-SDK-3.0.1-win32.zip for Windows, eclipse-SDK-3.0.1-linux-motif.zip for Linux x86/Motif, eclipse-SDK-3.0.1-linux-gtk.zip for Linux x86/GTK 2, and so on—they're all listed on the Downloads page. Decompress the compressed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access