/**
* displays the query history.
*/
public void showHistory() {
JList list;
ListSelectorDialog dialog;
String tmpStr;
list = new JList(m_History);
dialog = new ListSelectorDialog(m_Parent, list);
if (dialog.showDialog() == ListSelectorDialog.APPROVE_OPTION) {
if (list.getSelectedValue() != null) {
tmpStr = list.getSelectedValue().toString();
if (tmpStr.indexOf("@") > -1) {
setUser(tmpStr.substring(0, tmpStr.indexOf("@")));
setURL(tmpStr.substring(tmpStr.indexOf("@") + 1));