*/
public class StyleSheetAction extends AbstractAction {
public StyleSheetAction() {}
public void actionPerformed(ActionEvent e) {
if (styleSheetDialog == null) {
styleSheetDialog = new UserStyleDialog(JSVGViewerFrame.this);
styleSheetDialog.pack();
Rectangle fr = getBounds();
Dimension sd = styleSheetDialog.getSize();
styleSheetDialog.setLocation(fr.x + (fr.width - sd.width) / 2,
fr.y + (fr.height - sd.height) / 2);