It's not a linux specific question *g*
... but there's a little coding error down below ... that should work
Stephan Gruschke.
private class HtmlListener implements HyperlinkListener
{
String file=new String("file://");
public void hyperlinkUpdate (HyperlinkEvent evt)
{
if (evt.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
{
>> if((evt.getURL().toString())!=null);
if ((evt.getURL() != null) {
file=evt.getURL().toString();
}
System.out.println ("getting file: "+file);
doSave(file);
}
}// end hyperlink update
}// end class htmlListener
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]