Does anyone know how to save or export the result from JTreeview. I am uning the JTV applet. it works great. the problem is that I couldn't do anyting to deal with the menu bar function such as save and export...
any suggestion will be appreciated.
The short answer is that the JTV applet cannot access the hard drive because of
Java security restrictions. Technically, we could sign the applet so it was trusted, but it's a hassle.
You can still export gene lists from the applet using cut-and-paste. First open the applet and select some genes of interest, then use export->save list or export->save data. In the dialog, just select all (ctrl-a or apple-a) and then copy (ctrl-c or apple-c).
Incidentally, you can open any applet-based jtv file using the desktop application just by entering the url for the .cdt file. For instance, if you start up the desktop version of java treeview, go to "File->open url..." and enter
it will open the spellman example file.
see this page for signing http://www.captain.at/programming/java/
keytool -genkey -keyalg rsa -alias yourkey
keytool -export -alias yourkey -file yourcert.crt
jarsigner yourapplet.jar yourkey
you need to sign both plugins/Dendrogram.jar
note that when you close the applet, it takes down the whole browser.
Thanks for figuring out how to sign applets, finding this bug, and posting a solution! I am feeling the power of open source. I have fixed the problem in the main code tree by making endProgram an abstract function in the base class, and then having separate implementations in the AppletApp class and the LinkedViewApp class. The fixed code is accessible here:
It is also fixed in the unsigned applet here, in case you want to sign it yourself:
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.