Selection Demo

Selection Demo Screen Shot

This program demonstrates the diagram's selection modes, configured by the radio buttons on the right side.

Clicking on an element selects it. Control-clicking adds to the selection in a multiple-selection mode. Shift-clicking will do a deep selection in a shallow selection mode. The toolkit provides additional low-level parameters to modify the selection modes.

Click on the screen shot to run the applet, or with Java Web Start.

Source Files
Selection.java the main program, creates the elements and configures the diagram.
selection.rdr describes how to render each object in the diagram.
selection.properties specifies rendering hints and logging properties.