Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">


    <p>The Java development toolkit (JDT) contributes a scrapbook facility that can be used to experiment and evaluate Java
    code snippets before building a complete Java program. Snippets are edited and evaluated in the Scrapbook page
    editor, with resultant problems reported in the editor.</p>

    <p>From a Java scrapbook editor, you can select a code snippet, evaluate it, and display the result as a string.
    You can also show the object that results from evaluating a code snippet in the debuggers' <a href="../reference/views/expressions/ref-expressions_view.htm"><strong>Expressions View</strong></a>.</p>
    <p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ></p>
     <a href="../concepts/concept-jdt.htm">Java development tools (JDT)</a><br>
     <a href="cdebugger.htm">Debugger</a></p>

    <p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ></p>
     <a href="../tasks/task-create_scrapbook_page.htm">Creating a Java scrapbook page</a><br>
     <a href="../tasks/task-display_evaluation_result.htm">Displaying the result of evaluating an expression</a><br>
     <a href="../tasks/task-inspect_evaluation_result.htm">Inspecting the result of evaluating an expression</a>
    <p><img border="0" src="../images/ngrelr.png" alt="Related reference" ></p>
     <a href="../reference/ref-wizard-scrapbook.htm">New Java Scrapbook Page wizard</a><br>
     <a href="../reference/views/ref-view-scrapbook.htm">Java Scrapbook page</a><br>
     <a href="../reference/views/expressions/ref-expressions_view.htm">Expressions view</a></p>

New to GrepCode? Check out our FAQ X