private void onRenameGraph() {

    // i18n[graph.newName=Please enter a new name]
    Window parent = SwingUtilities.windowForComponent(_desktopPane);
    String newName = JOptionPane.showInputDialog(parent, s_stringMgr.getString("graph.newName"));
    if (null != newName && 0 != newName.trim().length()) {
      _listener.renameRequest(newName);
    }
  }