MCPcopy Create free account
hub / github.com/Singular/Singular / iviewAvailable

Method iviewAvailable

Singular/LIB/surfex/ConfigFrame.java:376–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374 }
375
376 public boolean iviewAvailable() {
377 try {
378 Runtime r = Runtime.getRuntime();
379 Process p;
380 p = r.exec(iviewPath.getText() + " i_view32_test.jpg /convert="
381 + surfex_.tmpDir + "i_view32_test.jpg");
382 iviewPath.setBackground(Color.white);
383 return true;
384 } catch (Exception e1) {
385 // System.out.println(e1.toString());
386 iviewPath.setBackground(Color.red);
387 return (false);
388 }
389 }
390
391 public void askForSurf() {
392

Callers 2

ConfigFrameMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected