PageRenderTime 44ms CodeModel.GetById 38ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms


HTML | 17 lines | 17 code | 0 blank | 0 comment | 0 complexity | 226f59b1eb9573a1b37027832634b9ff 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.73.2"><link rel="start" href="index.html" title="jEdit 4.3 User's Guide"><link rel="up" href="macro-basics.html" title="Chapter 13. Macro Basics"><link rel="prev" 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><p>Here is how BeanShell's author, Pat Niemeyer, describes his
 2        creation:</p><div class="blockquote"><blockquote class="blockquote"><p>&#8220;<span class="quote">BeanShell is a small, free, embeddable, Java source
 3            interpreter with object scripting language features, written in
 4            Java. BeanShell executes standard Java statements and expressions,
 5            in addition to obvious scripting commands and syntax. BeanShell
 6            supports scripted objects as simple method closures like those in
 7            Perl and JavaScript.</span>&#8221;</p></blockquote></div><p>You do not have to know anything about Java to begin writing your
 8        own jEdit macros. But if you know how to program in Java, you already
 9        know how to write BeanShell scripts. The major strength of using
10        BeanShell with a program written in Java is that it allows the user to
11        customize the program's behavior using the same interfaces designed and
12        used by the program itself. BeanShell can turn a well-designed
13        application into a powerful, extensible toolkit.</p><p>This guide focuses on using BeanShell in macros. If you are
14        interested in learning more about BeanShell generally, consult the
15        <a class="ulink" href="" target="_top">BeanShell web site</a>.
16        Information on how to run and organize macros, whether included with the
17        jEdit installation or written by you, can be found in <a class="xref" href="using-macros.html" title="Chapter 8. Using Macros">Chapter 8, <i>Using Macros</i></a>.</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>