MCPcopy
hub / github.com/arduino/Arduino / openURL

Method openURL

app/src/processing/app/Base.java:2072–2079  ·  view source on GitHub ↗

Implements the cross-platform headache of opening URLs TODO This code should be replaced by PApplet.link(), however that's not a static method (because it requires an AppletContext when used as an applet), so it's mildly trickier than just removing this method.

(String url)

Source from the content-addressed store, hash-verified

2070 * trickier than just removing this method.
2071 */
2072 static public void openURL(String url) {
2073 try {
2074 BaseNoGui.getPlatform().openURL(url);
2075 } catch (Exception e) {
2076 showWarning(tr("Problem Opening URL"),
2077 format(tr("Could not open the URL\n{0}"), url), e);
2078 }
2079 }
2080
2081
2082 /**

Callers 10

setButtonOrLinkMethod · 0.95
makeNewDescriptionMethod · 0.95
setButtonOrLinkMethod · 0.95
makeNewDescriptionMethod · 0.95
actionPerformedMethod · 0.95
buildHelpMenuMethod · 0.95
handleFindReferenceMethod · 0.95
runMethod · 0.95
createTextAreaMethod · 0.45

Calls 4

getPlatformMethod · 0.95
showWarningMethod · 0.95
trMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected