uriChooser = new URIChooser(this, new URIChooserOKAction());
uriChooser.setFileFilter(new SVGFileFilter());
// Create the SVG canvas.
canvas = new JSVGCanvas(this);
listeners.put(OPEN_ACTION, new OpenAction());
listeners.put(OPEN_PAGE_ACTION, new OpenPageAction());
listeners.put(NEW_WINDOW_ACTION, new NewWindowAction());
listeners.put(EXPORT_PNG_ACTION, new ExportPNGAction());