hm - thanks for the hints ...

I was though hoping to find a solution that does not require the use of patching, enhancing or embedding batik into another java application, where a user with a regular squiggle application could launch the browser when he clicks on a link that points to a URI that does not contain an SVG.

My question is: is it possible to change the behaviour of Squiggle so that if the user clicks on the link and the link does not point to an svg it would just open the systems webbrowser? Is that possible at all?

Thanks for any info on that,

Andreas

J B wrote:

Got it...thanks for the tip. We were still having issues with the listener.

Birch

On 1/11/06, *J B* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Can you post an example of that?

    Thanks!

    Birch


    On 1/11/06, *Andrew Plotkin* < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:

        On Wed, 11 Jan 2006, J B wrote:

Found the following from the archives:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200212.mbox/[EMAIL
 PROTECTED]

        I took a different approach, which was to create my own
        subclass of
        SVGUserAgentGUIAdapter and override the openLink() method. It
        comes to the
        same thing, though.

        Actually pushing the link to an external web browser is more of a
        headache. I found < http://browserlauncher.sourceforge.net/>,
        and also
        <http://www.centerkey.com/java/browser/myapp/BareBonesBrowserLaunch.java
        
<http://www.centerkey.com/java/browser/myapp/BareBonesBrowserLaunch.java>>.

        --Z

        "And Aholibamah bare Jeush, and Jaalam, and Korah: these were
        the borogoves..."
        *
        Bush's biggest lie is his claim that it's okay to disagree
        with him. As soon as
        you *actually* disagree with him, he sadly explains that
        you're undermining
        America, that you're giving comfort to the enemy. That you
        need to be silent.

        ---------------------------------------------------------------------
        To unsubscribe, e-mail:
        [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        For additional commands, e-mail:
        [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>





--
----------------------------------------------
Andreas Neumann - Institute of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg
CH-8093  Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to