In this demo, the diagram shows a field of oil wells. Clicking on a well makes it pop to the front and display the drilling statistics. The Add button adds additional wells and the Remove button removes the selected well.
Click on the screen shot to run the applet, or
with Java Web Start.
| Source Files | |
|---|---|
| OilfieldData.java | the demo's data model |
| Well.java | the demo's data object class; holds the locations of the wells. |
| Oilfield.java | the main program; configures the diagram. |
| Converters.java | converters to format the detail values. |
| oilfield.rdr | describes how to render each object in the diagram, using a FormattedText renderer and converters to display the data. |
| oilfield.properties | specifies rendering hints and logging properties. |
