Exploratories   Exploratory Base
     

Description


This component serves as the base for all exploratories, providing support for a consistent baseline of features across all exploratories. Such features include: execution as both a Java applet and as a Java application, basic menubar and menus (File, File->Exit, Help, Help->About), a basic container into which an exploratory can be built.

Audience


The audience for this component package is programmers working on educational software using Java. A programmer using this component should feel comfortable with basic Java and Swing concepts.

Usage


Download the JAR file and documentation and start using this component in a project. Make sure to add the downloaded JAR file to your classpath before compiling your source code, otherwise the Java compiler will not be able to find the exploratories component classes you reference in your code.

This component is used by subclassing the Exploratory class. The subclass must contain a static initialization statement that sets the singleton class variable to the fully-qualified classname of the subclass. For example, the subclass edu.brown.cs.exploratory.applets.lightExploratory.LightExploratory needs to include: static { singleton = "edu.brown.cs.exploratory.applets.lightExploratory.LightExploratory" }. Subclasses can add menu items, entire menus, and add content to the primary content pane to create a fully-functional exploratory.

Thumbnails