The Eclipse platform continues to gain tremendous popularity as both a Java IDE and a Java platform for application programming. One of the core underpinnings of Eclipse is SWT, the Standard Widget Toolkit. This set of components can be used to develop graphical user interfaces in Java, and offer a native-code alternative to Java's Swing and AWT components. Incorporating the look and feel of whatever platform the code is run on, SWT offers a lightning-fast approach to building GUIs, all of which actually look like they belong on the platform on which they are run. But you already know what you want to do--so wading through the basics of user interface design, graphical components, and what a button does is simply a waste of time. Enter SWT: A Developer's Notebook. In typical Developer's Notebook style, you'll learn how to take SWT out for a spin, make it work for you, and turn it upside down, all without wasted words or space. Each lab in this notebook details a specific task; you can read from the first page to the last, look up just what you need to know, and even squeeze this book into your laptop bag as a quick reference when you forget how to create a multi-tabbed view.
This book covers: Downloading and configuring Eclipse and SWT Menus, toolbars, and buttons Building tabbed layouts and folders SWT's unique coolbar control Adding listeners and responding to events Building a complete SWT-based application
Tim Hatton is the President of Millennium Learning Technologies, a company specializing in the custom design of IT courseware and learning methodologies. He has taught courses to developers at IBM, Lockheed-Martin, LexisNexis and other Fortune 500 technology companies. Additionally, he has developed applications for these, and other companies, using a wide variety of tools-from PowerBuilder to Java. Tim has a BA in Political Science from Wright State University and a JD from the University of Dayton School of Law and was a practicing attorney in a prior life.