Book Image

Getting Started with Eclipse Juno

By : Rodrigo Fraxino Araujo, Vinicius H. S. Durelli, Rafael M. Teixeira
Book Image

Getting Started with Eclipse Juno

By: Rodrigo Fraxino Araujo, Vinicius H. S. Durelli, Rafael M. Teixeira

Overview of this book

<p>Integrated Development Environments (IDEs) such as Eclipse are examples of tools that help developers by automating an assortment of software development-related tasks. By reading this book you will learn how to get Eclipse to automate common development tasks, which will give you a boost of productivity.<br /><br />Getting Started with Eclipse Juno is targeted at any Java programmer interested in taking advantage of the benefits provided by a full-fledged IDE. This book will get the reader up to speed with Eclipse’s powerful features to write, refactor, test, debug, and deploy Java applications.<br /><br />This book covers all you need to know to get up to speed in Eclipse Juno IDE. It is mainly tailored for Java beginners that want to make the jump from their text editors to a powerful IDE. However, seasoned Java developers not familiar with Eclipse will also find the hands-on tutorials in this book useful.</p> <p><br />The book starts off by showing how to perform the most basic activities related to implementing Java applications (creating and organizing Java projects, refactoring, and setting launch configurations), working up to more sophisticated topics as testing, web development, and GUI programming.</p> <p><br />This book covers managing a project using a version control system, testing and debugging an application, the concepts of advanced GUI programming, developing plugins and rich client applications, along with web development.</p>
Table of Contents (17 chapters)
Getting Started with Eclipse Juno
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
4
Version Control Systems
Index

Getting started


As previously mentioned, SWT is a widget toolkit for Java. A widget is a GUI element developed to provide interaction with an user. Text, labels, lists and buttons are examples of widgets. For making use of widgets and getting started with the development of SWT applications, some configurations must be performed, as described in the next section.

Setting up

Although SWT is integrated as part of the Eclipse plug-in API, for older versions or for the development of standalone applications, it may be necessary to download the standalone SWT.

For that, one must go to www.eclipse.org/swt. After selecting the appropriate version (in our case swt-4.2.1-gtk-linux-x86.zip), it is necessary to import the downloaded file into Eclipse by going to File | Import... | Existing projects into workspace | Select archive file, and by hitting the Browse button to locate the SWT library file, as it is shown in the following screenshots:

(a) Import Source

(b) SWT Library Archive File

After these first...