logo       


Re: ImageJ as an applet and plugin support: msg#00238

Subject: Re: ImageJ as an applet and plugin support
Hello,
I am using ImageJ 1.35l on Windows XP. Both it and a plugin I've written work fine run as a Java application.

Now I would like to run them as an applet. I copied the code of "http://rsb.info.nih.gov/ij/applet2/"; into my own ImageJ directory and ran it from my browser. ImageJ loads; however, it gives the following error message when it tries to open the image:
   "access denied (java.net.SocketPermission rsb.info.nih.gov resolve)

   http://rsb.info.nih.gov/ij/images/FluorescentCells.jpg";

Unsigned applets can only download images from the server they were loaded from. You will need to either copy the images to your server and edit the applet tag to reflect the new address, or to sign the applet. Michael Abramoff has a signed ImageJ applet at

     http://bij.isi.uu.nl/applet.htm

and instructions explaining how he signed it.

Also, the plugins do not appear in the applet. I've read on other example sites that either ij.jar needs to be rewritten or an additional file needs to be included, but I have not seen any what needs to be added.

The plugins have to be added to ij.jar and you need to edit the IJ_Props.txt file to add them to the Plugins menu. The plugins must be at the root level of the jar file, along with IJ_Props.txt and about.jpg. You can use the jar utility that comes with the Sun JDK to extract the files from jar files and to build new jar files.

-wayne



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe