JanneButton/JanneToolbar

The JanneButton class is a class that implements an image and/or string labelled button. Also include are a set of classes to handle X11 bimaps and pixmaps (xbm and xpm). These classes allows usage of X11 bitmaps inlined in the source code.

This version doesn't support any fancy animations. It's just a simple button with image support.

An example applet using JanneButton:

The JanneToolbar class is a simple class that implements a toolbar, based on the JanneButton class. An example applet:

More examples

ButtonTest.html Applet to try out various features of JanneButton.
CardTest.html From the JDK demo. Used to verify compability with awt.Button.
XImageTest.html To test the X11 bitmap classes..
JanneToolbar.html Example that uses the X11 bitmap classes in combination with the JanneToolbar class and Netscape Frames.

Source

  • JanneButton.java
  • JanneToolbar.java
  • XImageSource.java
  • XbmParser.java
  • XpmParser.java
  • XColorNames.java
  • JanneButton.tar.gz (includes the above as well as example applets, images, pixmaps and Makefiles)
  • JanneButton.zip (same as above, but in zip-format)

  • Janne Andersson <janne@torpa.se>