svgCanvas.addSVGLoadEventDispatcherListener(this);
svgCanvas.addGVTTreeRendererListener(this);
svgCanvas.addLinkActivationListener(this);
svgCanvas.addUpdateManagerListener(this);
svgCanvas.addMouseMotionListener(new MouseMotionAdapter() {
public void mouseMoved(MouseEvent e) {
if (svgDocument == null) {
statusBar.setXPosition(e.getX());
statusBar.setYPosition(e.getY());
} else {