CytoPanel cytopanel = Cytoscape.getDesktop().getCytoPanel(3);
this line will help me to do thing with results panel,so how abt tools panel??
The document you cited is old. Instead of 1,2,3, we now use the words, SOUTH, EAST and WEST to represent the location of cytopanel. And each panel got a name, i.e. Control Panel, Data Panel and Result Panel. You can look at a sample plugin “How to add a tabbed Panel to Control panel?” at http://cytoscape.org/cgi-bin/moin.cgi/plugin_developer_tutorial .
Peng