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

Method impsurfAvailable

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

Source from the content-addressed store, hash-verified

360 }
361
362 public boolean impsurfAvailable() {
363 try {
364 Runtime r = Runtime.getRuntime();
365 Process p;
366 p = r.exec(impsurfPath.getText() + " testparameter");
367 impsurfPath.setBackground(Color.white);
368 return true;
369 } catch (Exception e1) {
370 // System.out.println(e1.toString());
371 impsurfPath.setBackground(Color.red);
372 return (false);
373 }
374 }
375
376 public boolean iviewAvailable() {
377 try {

Callers 2

ConfigFrameMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected