Login  Register

Re: jar html

Posted by ctrueden on Feb 20, 2008; 6:47pm
URL: http://imagej.273.s1.nabble.com/Better-jpeg-quality-tp3697120p3697123.html

Hi,

If you want it to show up in the
> standard browser things get trickier, google "open browser from java" or
> see
> http://forum.java.sun.com/thread.jspa?threadID=679673
>

ImageJ includes a version of Eric Albert's BrowserLauncher class for
launching URLs into the OS's default browser. Should be as simple as calling
ij.plugin.BrowserLauncher.openURL("http://www.myurl.com/").

-Curtis

On Feb 20, 2008 12:09 PM, J H <[hidden email]> wrote:

> Hi
>    See http://www.codeguru.com/forum/showthread.php?t=343536 for an
> example
> of showing html from a jar in a textbox.  If you want it to show up in the
> standard browser things get trickier, google "open browser from java" or
> see
> http://forum.java.sun.com/thread.jspa?threadID=679673
>
> Hope this helps.
>
>
> On 2/19/08, Adrian Martin <[hidden email]> wrote:
> >
> > Hello all,
> >
> > Having written my plugin, I thought it would be nice to have a help
> > file within the .jar file that I can call up from within the plugin.
> > Its in HTML so I would think that should be easy but it isn't.  I can
> > get an HTML file opened, but not one from within a .jar file.
> > Any ideas about this?
> >
> > ps I've seen the .jar file example plugin
> >
> > Dr Adrian Martin
> > Sensor Sciences,  3333 Vincent Road, Suite 103, Pleasant Hill, CA 94523
> > (925) 296 0848 phone, (925) 296 0849 fax
> >
>