Title / Description
Code public void calculate() { try { jep.parseExpression(line.text()); results.append( line.text()+"=<b>"+Double.toString(jep.getValue())+"</b>"); } catch(Exception pe) { results.append("Invalid Expression: "+line.text()); } finally { line.setText(""); } for (int x = 0; x < 9; x++) { System.out.println(x); } }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code