The Data Factory

Sorry, you do not have a Java-enabled browser

A Brief Users' Guide

Purpose of the Software

The Data Factory is an experimental programming environment based on a form of computation called the "factory model". This software supports investigations into the use of the factory model in explaining computing concepts and in exploring the possibilities for programs and program styles in the factory model.

Requirements

To run the software, you need a Java runtime system with a JDK 1.3 compatibility. For the web-based applet, you should have a browser with a Java JDK 1.3 compatible plug-in. Older plug-ins, such as the JDK 1.1.5 compatible plug-in that shipped with Netscape 4.7 may be able to run the main part of the program, but might not allow you to load and save files.

Program Layout

The program appears in its own window. This window has two panes. The top one is the factory area where a factory layout can be created and run. The bottom panel is the tool bar.

Tool Panel

The tool panel is used to draw the factory and control execution. There are two kinds of tool icons: control icons and drawing icons. The icons are arranged in three rows. Each row contains ten icons. The first 8 icons of the top row are control icons. All the rest are drawing icons. Here is a list of the functionality of the icons.

Top row:

Middle row:

Bottom row:

Editing

Copy and Paste work with the selection tool and the Edit menu. Moving is not directly implemented, but you can move a rectangular portion of the factory by first selecting it, then copying it, then clearing the selected portion of the factory, then using the selection tool to indicate where the upper-left corner of the pasted section should go, and finally, selecting Paste from the Edit menu.
Most drawing operations can be retracted using the Undo option on the Edit menu.

Loading and Saving Files

The current version only loads and saves files from or to the client hard disk. To load a file that is on the web, first download the file to your hard disk, and then load it as a local file. Note that when you run the Data Factory as an applet on the web, you must be using a Java Plug that supports local loading and saving by signed applets. The version of the Data Factory installed in the CSE 341 web site is a signed applet.

Sample Programs

To run one of these, first download it to your hard disk. Then load it into the Data Factory using the File:Load menu item and the file dialog box that comes up. Each of these files is an ASCII text files that represents the state of a factory, including device and conveyor layouts and data.
(C) S. Tanimoto, 2003.