public void cancel_actionPerformed(ActionEvent e)\r
{\r
try{\r
+ // if allResults is null, this effectively switches displaySearch flag in seqCanvas\r
+ ap.highlightSearchResults( null );\r
frame.setClosed(true);\r
- }catch(Exception ex){}\r
+ }catch(Exception ex){ }\r
\r
}\r
\r
for(int i=0; i<searchResults.size(); i++)\r
allResults[i] = Integer.parseInt(searchResults.get(i).toString());\r
\r
-\r
- ap.highlightSearchResults( allResults );\r
}\r
else\r
{\r
seqIndex=0;\r
}\r
\r
+ // if allResults is null, this effectively switches displaySearch flag in seqCanvas\r
+ ap.highlightSearchResults( allResults );\r
+\r
\r
}\r
\r