jTracer  1.03
Stack trace visualization tool
void org.libcsdbg.jtracer.AboutDialog.hyperlinkUpdate ( HyperlinkEvent  event)

Handler for hyperlink events.

Parameters
[in]eventthe hyperlink event

Definition at line 82 of file AboutDialog.java.

References org.libcsdbg.jtracer.Registry.mail().

83  {
84  try {
85  if (event.getEventType() != HyperlinkEvent.EventType.ACTIVATED)
86  return;
87 
88  URL url = event.getURL();
89  String proto = url.getProtocol();
90  Registry conf = Registry.getCurrent();
91 
92  if (proto.equals("file"))
93  setVisible(false);
94 
95  else if (proto.equals("mailto"))
96  conf.mail(url);
97 
98  else if (proto.equals("http"))
99  conf.browse(url);
100  }
101 
102  catch (Throwable t) {
103  Registry.debug(t);
104  }
105  }

+ Here is the call graph for this function: