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

Method povAvailable

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

Source from the content-addressed store, hash-verified

315 }
316
317 public boolean povAvailable() {
318 try {
319 Runtime r = Runtime.getRuntime();
320 Process p;
321 p = r.exec(povPath.getText()
322 + " /NR /RENDER tmp_aviable_test.povtest /EXIT");
323 povPath.setBackground(Color.white);
324 return true;
325 } catch (Exception e1) {
326 // System.out.println(e1.toString());
327 povPath.setBackground(Color.red);
328 return (false);
329 }
330 //return false;
331 }
332
333 public boolean surfAvailable() {
334 try {

Callers 4

stateChangedMethod · 0.95
ConfigFrameMethod · 0.95
askForPOVMethod · 0.95
actionPerformedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected