Most Helpful Customer Reviews
17 of 19 people found the following review helpful:
4.0 out of 5 stars
Solid coverage of SWT/JFace, December 22, 2004
This review is from: Swt/Jface in Action: GUI Design with Eclipse 3.0 (Paperback)
SWT and JFace are the graphical libraries developed by IBM as an alternative to Swing to improve performance of GUI applications (specifically Eclipse) written in Java. This book offers a thorough introduction to SWT/JFace. The authors avoid getting into a Swing vs. SWT/JFace debate although they do provide a comparison of the two libraries. The book starts with a look at writing a program in SWT and then rewriting it using JFace. The authors compare the two approaches and give a good description of why you would want to use one over the other. The next few chapters look at the basic widgets, layout managers, event handling, and graphics contexts. Later chapters cover more advanced widgets such as trees, viewers, tables, menus, dialogs, and wizards. The last chapter looks at GUI development using Eclipse's Rich Client Platform. The appendices cover development within Eclipse and integrating SWT/JFace applications with OLE and ActiveX. Overall this book does a great job of explaining SWT/JFace at a good level of detail. The book includes a reasonable amount of code samples as well as UML diagrams that help explain how these libraries work. The authors should have chosen a better sample application to demonstrate use of the libraries and there aren't enough screen shots included which may leave you wondering what some of the widgets look like. Other than these two minor complaints, this is an excellent book to learn how to use SWT/JFace and I can strongly recommend it.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
15 of 17 people found the following review helpful:
1.0 out of 5 stars
poorly strucured and organized, January 15, 2006
This review is from: Swt/Jface in Action: GUI Design with Eclipse 3.0 (Paperback)
"SWT/JFace in Action" proceeds to build a monolithic UI "application" consisting of a dozen or so widgets. Other than creating the widgets and putting them into an application, the book has little else to offer. Many chapters include tables of descriptions copied verbatim from the SWT/JFace Javadocs, with no additional verbage provided. There is very little coverage of event handling, or layouts. After presenting pages of vacuous descriptions like "setActionDefinitionID(String) - Sets an Action definition identifier" (p.73), each chapter concludes with the absurd statement "Now you are an expert." It would be funny if you had not just wasted $30 on the book. The silliest chapter is that of image-handling which contains a bizarre program to generate and save animated GIFs as files (why is this important to UIs?). After plodding through the process of generating images pixel-by-pixel (does anyone generate images pixel-by-pixel? doesnt everyone use methods to draw lines, arcs, elipses, & polygons?) the authors present a program to produce animated GIFs as files. The code contains strings of bytes (e.g., new byte[] {56, -67, 98, 54, -4, 2 }) with no explanation. My impression is that the author had this program on his PC and could not think of anything else to do with it but to include it in the book. The highlight is when the animated GIF is placed into the main application and the author comments that unfortunately, SWT does not provide functionality to animate it. LOL. I recommend that you read the Javadocs before you buy this book. If you need additional help, look for a reference other than this book.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
12 of 14 people found the following review helpful:
4.0 out of 5 stars
Small wonder, February 9, 2005
This review is from: Swt/Jface in Action: GUI Design with Eclipse 3.0 (Paperback)
As many people know by now, SWT and JFace are the GUI libraries used to create Eclipse, the popular open-source Java IDE. As fewer people know, these libraries can be used to build other applications as well. This book will teach you how. Its 13 chapters and four fat appendices give you all the information you'll need to create your own GUIs using this exciting new technology. JFace is built on top of SWT just as Swing is built on AWT. Most books, quite naturally, discuss these layers separately. This book is unusual because it discusses SWT and JFace simultaneously. This is more useful for the reader as she gains an appreciation for all her options at once. At barely over 450 pages, this is a comparatively small book on this large topic. It doesn't feel like anything is missing, though, although sometimes it feels a little cramped. The book is jam-packed with useful information and lots of code. For a book on graphics, however, there are curiously few screen shots. This, and some odd organizational choices (especially the relegation of GEF to an appendix,) are my only complaints about this otherwise serviceable work.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
|