The diagram in this demo is a hypothetical project status display. Each rectangle represents a project, positioned by priority. The color of the rectangle displays the project type, and the red or green dot in the top right corner indicates its status, waiting or ready.
The Add button adds additional predefined projects while the Remove button removes the selected project.
Click on the screen shot to run the applet, or
with Java Web Start.
| Source Files | |
|---|---|
| ProjectData.java | the demo's data model |
| Job.java | the demo's data object class, |
| ProjectModel.java | the demo's element model and layout manager; incrementally updates the layout as jobs are added and removed. |
| Project.java | the main program; configures the diagram. |
| project.rdr | describes how to render each object in the diagram, using converters to convert text values to application objects. |
| project.properties | specifies rendering hints and logging properties. |
