PageRenderTime 67ms CodeModel.GetById 61ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms


HTML | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | 4aa9d7f7d29967f1293564a40fd7bd78 MD5 | raw file
 1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Introducing BeanShell</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="jEdit 4.2 User's Guide"><link rel="up" href="macro-basics.html" title="Chapter 13. Macro Basics"><link rel="previous" href="macro-basics.html" title="Chapter 13. Macro Basics"><link rel="next" href="single-macros.html" title="Single Execution Macros"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Introducing BeanShell</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="macro-basics.html">Prev</a> </td><th width="60%" align="center">Chapter 13. Macro Basics</th><td width="20%" align="right"> <a accesskey="n" href="single-macros.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="beanshell-intro"></a>Introducing BeanShell</h2></div></div><div></div></div><p>
 2   Here is how BeanShell's author, Pat Niemeyer, describes his creation:
 3  </p><div class="blockquote"><blockquote class="blockquote"><p>
 4    &#8220;<span class="quote">BeanShell is a small, free, embeddable, Java source
 5    interpreter with object scripting language features, written in
 6    Java. BeanShell executes standard Java statements and
 7    expressions, in addition to obvious scripting commands and
 8    syntax. BeanShell supports scripted objects as simple method
 9    closures like those in Perl and JavaScript.</span>&#8221;
10   </p></blockquote></div><p>
11   You do not have to know anything about Java to begin writing your own
12   jEdit macros. But if you know how to program in Java, you already know
13   how to write BeanShell scripts.  The major strength of using
14   BeanShell with a program written in Java is that it allows the user to
15   customize the program's behavior using the same interfaces
16   designed and used by the program itself. BeanShell can
17   turn a well-designed application into a powerful, extensible toolkit.
18  </p><p>
19   This guide focuses on using BeanShell in macros. If you are interested
20   in learning more about BeanShell generally, consult the <a href="" target="_top">BeanShell web site</a>. Information
21   on how to run and organize macros, whether included with the jEdit
22   installation or written by you, can be found in
23   <a href="using-macros.html" title="Chapter 8. Using Macros">Chapter 8, <i>Using Macros</i></a>.
24  </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="macro-basics.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="macro-basics.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="single-macros.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 13. Macro Basics </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Single Execution Macros</td></tr></table></div></body></html>