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