The Java Developer's Guide to EclipseThe Java Developer's Guide to EclipseContents

Errata

The corrections below are underlined. You can report problems or errors found in the book or the CD-ROM to the authors at jdg2e@yahoogroups.com. Suggestions for improvement or other feedback are also very welcome.

Chapter 2 Getting Started with Eclipse

p. 57: "Eclipse provides a great deal of flexibility in keyboard shortcuts, including a configuration XXX or XXX for Emacs."

Chapter 14 The Standard Widget Toolkit

p. 350: Correction to the code snippet under the topic Fill Layout.


Group myGroup = new Group(parent, SWT.NONE);

myGroup.setText("Fill Layout");

Button b1, b2, b3, b4, b5;

b1 = new Button(myGroup, SWT.CHECK);

b2 = new Button(myGroup, SWT.CHECK);

b3 = new Button(myGroup, SWT.CHECK);

b4 = new Button(myGroup, SWT.CHECK);

b5 = new Button(myGroup, SWT.CHECK);

b1.setText("Check box 1");

b2.setText("Check box 2");

b3.setText("Check box 3");

b4.setText("Check box 4");

b5.setText("Check box 5");

FillLayout myFillLayout = new FillLayout();

myFillLayout.type = SWT.VERTICAL;

myGroup.setLayout(myFillLayout);

p. 351: Correction to code snippet on row layouts.


Group myGroup = new Group(parent, SWT.NONE);

myGroup.setText("Row Layout");

Button b1, b2, b3, b4, b5;

... Omitted some button construction code ...

RowLayout rowLayout = new RowLayout();

rowLayout.wrap = true;

rowLayout.pack = false;

rowLayout.justify = true;

rowLayout.marginLeft = 5;

rowLayout.marginTop = 5;

rowLayout.marginRight = 5;

rowLayout.marginBottom = 5;

rowLayout.spacing = 10;

myGroup.setLayout(rowLayout);

Chapter 20 Perspectives

p. 506: Correction in the reference to the editor area parameter of the createFolder method.


IFolderLayout topLeft = 

  layout.createFolder("topLeft", IPageLayout.LEFT, 0.50f,

    IPageLayout.ID_EDITOR_AREA);

Exercise 7 Developing Your First Rich Client Application

p. 985: Corrected text for step 2.

2. Create an application (main program) class. Expand the src-RCPexercise folder, and select the package com.ibm.jdg2e.rcp.simple.exercise.