Channel Programming API

Creating channels is very similar to writing Java applets. All relevant classes are located in the marimba.channel package.

To create a channel you have to implement the marimba.channel.Application interface which provides 4 methods:

You can subclass these methods and use them as the basis for writing your channel application. Note that the Channel class is not an AWT component. If you want to create an AWT frame you have to do so explicitly or you can subclass ApplicationFrame.


Important Classes and Interfaces

marimba.channel.Application
This is the main Application interface. Implement this interface to create your own channel.
marimba.channel.ApplicationContext
This interface provides access to the context of the channel (usually the tuner application). It lets you manipulate other channels.
marimba.channel.ApplicationPlayerFrame
This is a ready-to-use implementation of the Application interface which lets you play a Bongo presentation in a channel.
marimba.channel.AppletViewer
This ready-to-use subclass of class Channel which lets you play an Java applet in a channel.
marimba.channel.AppletContext
This interface gives you access from an applet to the Channel in which it is running. Simply get the AppletContext using getAppletContext() and cast it to this class.


Other links

Also available are: