Updates

Latest Tweet



What's New?

Check out for latest innovation, a computer based training video collection


Like this Page

SWT: A Developer's Notebook Review by Yang, Tsun Yi

Worst written style I have ever seen

The author is bang on same issue over and over throughout entire book, page 108, for example, contains following 3 consecutive section:

*****************************************
As with all widgets, the first step in using a list is to create the List object-an instance of the List class-then position the list within the container as desired. Once a List object has been created, it can be populated with items.

To create a list you must create an instance of the List class, passing the constructor a reference to a shell or other container, and specifying the style of list you wish to create.

The code in Example 7-1 should be familiar due to its similarity to the code required to create the examples from earlier chapters. As with all widgets, you first create an instance of List, passing a reference to the container and the desired style attributes. The following creates a single selection list with a border:
*****************************************

I'm totally off with this.