|
There are some conventions I'll use that you should know about. When there's a new piece of code under discussion, it will appear highlighted; when there's more code to come, you'll see three dots. Here's what that looks like: import org.apache.tools.ant.Task; import org.apache.tools.ant.BuildException; public class Project extends Task { private String language; public void execute( ) throws BuildException { System.out.println("The language is " + language); } public void setLanguage(String language) { this.language = language; . . . } } Note that I'll use the standard convention for selecting menu items in this book when menu items come into play (as when we use Ant in the Eclipse IDE). For instance, to create a new project in Eclipse, you use the File New Project menu item. The following typographical conventions are used in this book:
|
|