Integrating symbols into an application

The simplest way to integrate symbols into a map application is to provide a Cascading Style Sheet (see “Styling” in Introducing JViews Diagrammer) that describes the symbol rendering, and then use the API to populate the SDM model, for example:
// set the rendering style sheet
engine.setStyleSheets(new String[]{"myfile.css"});
You can also use any technique described in “User Interactions” in Introducing JViews Diagrammer to integrate your own symbol data model, possibly through an XML stream or database connection.