public RunScriptAction(NetworkPanel networkPanel){
  super("Run Script...");
  putValue(SMALL_ICON,ResourceManager.getImageIcon("Script.png"));
  putValue(SHORT_DESCRIPTION,"Open and apply a network .bsh script to this network");
  this.networkPanel=networkPanel;
}

public RunScriptAction ( NetworkPanel networkPanel ) { super ( "Run Script..." ) ; putValue ( SMALL_ICON , ResourceManager . getImageIcon ( "Script.png" ) ) ; putValue ( SHORT_DESCRIPTION , "Open and apply a network .bsh script to this network" ) ; this . networkPanel = networkPanel ; }
create a new script action for the workspace .
