*/
public class OpenLocationAction extends AbstractAction {
public OpenLocationAction() {}
public void actionPerformed(ActionEvent e) {
if (uriChooser == null) {
uriChooser = new URIChooser(JSVGViewerFrame.this);
uriChooser.setFileFilter(new SVGFileFilter());
uriChooser.pack();
Rectangle fr = getBounds();
Dimension sd = uriChooser.getSize();
uriChooser.setLocation(fr.x + (fr.width - sd.width) / 2,