import
javax.swing.JOptionPane;import
cytoscape.plugin.CytoscapePlugin;import
cytoscape.Cytoscape;public
class NewPlugin extends CytoscapePlugin { public NewPlugin () {String message =
"Hello World!";System.
out.println(message); // use the CytoscapeDesktop as parent for a Swing dialogJOptionPane.showMessageDialog( Cytoscape.getDesktop(), message);
}
}
i am getting the following error message.cytoscape.CytoscapeInit[INFO]: CytoscapeInit static initialization
cytoscape.CytoscapeInit[INFO]: Log information can now be found in the Help->Error Console menu
Exception in thread "main"
java.lang.IllegalArgumentException: nameat sun.misc.URLClassPath$Loader.getResource(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(
Native Method)at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(
Native Method)at java.lang.Class.forName(Unknown Source)
at cytoscape.plugin.PluginManager.loadResourcePlugins(
PluginManager.java:930)at cytoscape.plugin.PluginManager.loadPlugins(
PluginManager.java:797)at cytoscape.CytoscapeInit.init(
CytoscapeInit.java:259)at cytoscape.CyMain.<init>(
CyMain.java:158)at cytoscape.CyMain.main(
CyMain.java:122) I am not able to get the "Java Swing utility class is used to display the message in a dialog window. " as mentioned in the tutorial.In the Run configuration the argument that i gave was
This message may contain confidential information. If you are not the designated recipient, please notify the sender immediately, and delete the original and any copies. Any use of the message by you is prohibited.