| Name: |
BshPad |
| Type: |
Productivity |
| Publisher/ Author: |
Olli Raisa |
| Webpage: |
[email protected] |
| Distribution (Type / Price): |
Freeware |
| Languages: |
|
| Machines: |
Nokia 9210, Nokia 9290 |
| Download: |
Here |
BshPad is a BeanShell script editor, written in Java. BshPad is
designed for devices such as Nokia 9210 Communicator where the standard
BeanShell desktop cannot be used.

BeanShell is a free Java source interpreter with object scripting
language features, written in Java. In addition to BeanShell scripting
commands and syntax, the interpreter executes standard Java statements
and expressions. For BeanShell documentation see http://www.beanshell.org.

On Nokia 9210, Java runtimes implement the PersonalJava 1.1.1 specification,
a modification of JDK 1.1.6. Some BeanShell features are not available
on this platform.

And here is some example script you can start from. It draws random
lines on screen:
// Drawing graphics
import java.awt.*;
Frame f = new Frame("Random lines");
int w=640, h=200, n=200, x0, y0;
f.setSize(w, h);
f.show();
Graphics g = f.getGraphics();
for (int i=0; i<n; i++) {
int x1 = (int)(w*Math.random());
int y1 = (int)(h*Math.random());
g.drawLine(x0, y0, x1, y1);
x0 = x1;
y0 = y1;
}
Thread.sleep(1000);
f.dispose();

BshPad distribution is licensed free of charge, without any warranty,
for personal or non-commercial use.
Screenshots from the excellent My-Communicator
website.
|