• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. SWT Shells > Executing the Example

2.2. Executing the Example

To execute the examples in this book, you will need to do one of two things—either create a runner class or include a main( ) method in each example.

2.2.1. How do I do that?

The first approach is to create a simple class called Runner, shown in Example 2-2.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint