|
See also Keith's Automated Astrolabe - a full (non-trivial) Java applet |
Finding a formula for the Equation of Time (a Java applet) |
Hello World.
2. Fonts, - different fonts, differently sized and coloured, some central.
Fnts.html - 3.2K.
3. Graphics - rectangles, ovals, arcs, a face and 13 colours.
Grap.html - 5.0K.
4. Thread - not buffered so shows a flickering moving image.
Jump.html - 3.0K.
5. Thread (double-buffered) - shows a non-flickering moving image.
Buff.html - 3.4K.
6. Random - a randomly moving ball which jumps when clicked.
Rand.html - 3.5K.
7. Menus - menus allow you to change colours.
Menu.html - 4.5K.
8. Scroll - scrollbars to the right and under a window.
ScrB.html - 4.1K.
9. Clock - digital and analogue display.
Clck.html - 3.6K.
10. A jpeg - shows a picture and a moving pointer.
Ajpg.html - 41.5K (includes a jpeg).
11. Colours - displays the 216 colours recommended for web pages.
Colo.html
- 6K (24.5K if you are not java-enabled).
12. MenuBar - displays a separate window with either a
menubar across the top of the window or, if you are an Acorn
user, you use your menu button.
MBar.html
- 9K.
13. Pendulum Clock - analogue clock with a
pendulum/escapement powered by a gremlin.
Pend.html
- 10.5K.
14. Rotate - the words "mum * dad" and "dad * mum"
rotating.
Rota.html
- 10.5K.
15. Grid - applet opens a window covered in squares, making
it useful for determining the pixel position of objects.
Grid.html
- 4.5K.
16. Imagemap - this is the imagemap shown above which allows you to visit the pages showing my other applets. Details of my imagemap applet are given towards the bottom of this page.
The first demonstrates the type of menu known as choice. The
class file containing main() is called Choi.class.
To download it, (approx 9K)
click here.
The second demonstrates the type of menu known as a menubar,
a term familiar to users of PCs who use drop-down menus, but
on Acorn computers you use the usual Menu button of your
mouse to view the menu. The class file containing main() is
called MBar.class.
To download it, (approx 6K)
click here.
The third demonstrates simple file input/output. It reads a
file, which includes the date and time when the program was
last saved, then saves the file, including the present date
and time. The class file containing main() is called
IO.class.
To download it, (approx 8K)
click here.
The fourth provides a simple demonstration of a clock, both
digital and analogue. To make it more interesting, I have
drawn the clock with an oval shape as well as with the usual
round shape. The class features double-buffering and
threading, and should work as both an applet and an
application - there is a suitable html file in the
directory. The class file containing main() is called
Thrd.class.
To download it, (approx 6K)
click here.
To download the imagemap source file and class file
for the above imagemap, click here:
Imap.zip - 4.5K.
