Displaying the result of evaluating an expression

Displaying shows the result of evaluating an expression in the scrapbook editor.

  1. In the scrapbook page, either type an expression or highlight an existing expression to be displayed. For example: System.getProperties();

  2. Click the Display button in the toolbar (or select Display from the selection's pop-up menu.)

  3. The result of the evaluation appears highlighted in the scrapbook editor. The result displayed is either

    • the value obtained by sending toString() to the result of the evaluation, or

    • when evaluating a primitive data type (e.g., an int ), the result is the simple value of the result.

For example:


Scrapbook


Executing an expression
Inspecting the result of evaluating an expression
Viewing runtime exceptions


Java scrapbook page