MCPcopy Index your code
hub / github.com/arduino/Arduino / run

Method run

app/src/processing/app/NetworkMonitor.java:106–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 SwingUtilities.invokeLater(new Runnable() {
105
106 @Override
107 public void run() {
108 try {
109 Thread.sleep(1000);
110 } catch (InterruptedException e) {
111 // ignore
112 }
113 if (channel.isConnected()) {
114 NetworkMonitor.this.message(tr("connected!") + '\n');
115 }
116 }
117
118 });
119 }

Callers

nothing calls this directly

Calls 5

sleepMethod · 0.80
trMethod · 0.80
tryConnectMethod · 0.80
printStackTraceMethod · 0.80
messageMethod · 0.65

Tested by

no test coverage detected