April 2007
Beginner to intermediate
640 pages
13h
English
One of the central features of an editor is its ability to distinguish between different elements of a language. For example, by default the IDE displays all Java keywords in blue, while method names are shown in black. This enhances the readability of Java code by giving each element a distinct and consistent appearance. The NetBeans API that lets you build and maintain a list of tokens is org.netbeans.api.lexer. A token is a related sequence of characters. For example, one token may be a sequence of characters that makes up a Java keyword; another, a sequence of characters making up a method name.
The Lexer modules, which provide the functionality discussed ...
Read now
Unlock full access