![]() | The Java Developer's Guide to Eclipse | Contents |
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.
p. 57: "Eclipse provides a great deal of flexibility in keyboard shortcuts, including a configuration XXX or XXX for Emacs."
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);
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);
p. 985: Corrected text for step 2.
2. Create an application (main program) class. Expand thesrc-RCPexercisefolder, and select the packagecom.ibm.jdg2e.rcp.simple.exercise.