topLabel.setText("Press F12 to Evaluate.");
else { bottomLabel.setText( "Null Result." ); } topLabel.setText( "Press F12 to Evaluate." );
        private void evaluateText() {            String sourcecode = editor.getText();            System.out.println("Evaluating source string=" + sourcecode);            topLabel.setText("Evaluating...");            repaint();//            Interpreter interpreter = new Interpreter();            try {                Object out = interpreter.eval(sourcecode);                if (out != null) {                    bottomLabel.setText("Result=" + out);                } else {                    bottomLabel.setText("Null Result.");                }                topLabel.setText("Press F12 to Evaluate.");                repaint();            } catch (EvalError evalError) {                evalError.printStackTrace();  //To change body of catch statement use Options | File Templates.            }        }