Getting Started With Eclipse and The SWT
Getting Started With Eclipse and The SWT
This site contains some tutorials and example programs that will help programmers who
are new to Eclipse and the Standard Widget Toolkit (SWT) install Eclipse correctly and run
some simple Java/SWT programs. The main focus of this site is illustrating the use of the
SWT for developing Java-based desktop applications. We have included information on
compiling Eclipse/SWT applications into executables with GCJ. We have also included a
brief introduction to installing the CDT (C/C++) plug-in into Eclipse that supports the
development of C and C++ programs and an introduction to the Java Native Interface that
permits Java and C programs to communicate with each other. The majority of the
tutorials focus on Windows (XP) but the examples that we have run on Linux also work
correctly.
1. Installing Eclipse and running a simple SWT program tutorial (or in postscript) and workspace
zip file.
2. Basic widgets tutorial (or in postscript) and workspace zip file.
3. Advanced widgets tutorial (or in postscript) and workspace zip file.
4. Layouts tutorial (or in postscript) and workspace zip file.
5. Client billing application tutorial (or in postscript) and workspace zip file. (Still under
development.)
6. Compiling Eclipse applications for Windows with GCJ/MinGW tutorial (or in postscript) and
workspace zip file. (The zip file is large, 17 MB.) (Still under development.)
7. Using the CDT C/C++ plugin to develop C/C++ programs in Eclipse tutorial (or in postscript)
and workspace zip file.
8. Using the Java Native Interface from the command prompt and from within Eclipse to link
Java and C programs tutorial (or in postscript) and workspace zip file.
9. Creating custom SWT controls tutorial (or in postscript) and workspace zip file.
10. Test-Driven Development using JUnit and Eclipse tutorial (or in postscript) and workspace
zip file.
11. JFace tutorial (or in postscript) and workspace zip file.
12. An Eclipse GUI Builder (Instantiations SWT/Swing Designer) tutorial (or in postscript) and
workspace zip file.
13. Refactoring in Eclipse tutorial (or in postscript).
14. Design Patterns and Code Pro tutorial (or in postscript).
15. TimeTracker application tutorial (or in postscript) and workspace zip file.
99. Installing the Amzi Prolog Plugin tutorial (or in postscript) and workspace zip file.
Comments may be directed to: eclipse@cs.umanitoba.ca
The main eclipse site is at www.eclipse.org
Eclipse articles: http://www.eclipse.org/articles/index.html
IBM's Eclipse articles: http://www-106.ibm.com/developerworks/views/opensource/articles.jsp?
sort_order=desc&expand=&sort_by=Date&show_abstract=false&view_by=Eclipse&search_by=
Eclipse guides in PDF (version 2.0) eclipsewiki.swiki.net/239
Compilation of Eclipse/SWT with the MinGW (Windows) port of GCJ:
http://www.thisiscool.com/gcc_mingw.htm
David Scuse (www.cs.umanitoba.ca/~scuse)
Department of Computer Science
University of Manitoba
Winnipeg, Manitoba, Canada