{
String line=queryArea.getText();
if ( line==null || line.length()==0)
return;
qp.setLine( line);
SelectionSetExpression querySelection = qp.getCurrentSelection();
querySelection.clear();
for (Object o : resultList.getSelectedValues())
{
querySelection.add(o);
}
SetExpression se=qp.getExpression();
historyList.addQuery( line);
Enumeration<?> e=se.evaluate( container.getDataSource());
ArrayList<Object> resultSorter = new ArrayList<Object>();