A
Ashanen
Hi
I am trying to develop a small Java program with simple GUI, the purpose of
which is to teach people very elementary java for absolute beginners. What I
would like to achieve is for the student to type in an expression or a very
simple set of expressions in a text box / area, and then push a button so that
those commands will be executed and they can see the outcome. But I am
uncertain how to actually get those expressions evaluated straight from the
text box or text area. Can anyone help out here? Thanks.
I am trying to develop a small Java program with simple GUI, the purpose of
which is to teach people very elementary java for absolute beginners. What I
would like to achieve is for the student to type in an expression or a very
simple set of expressions in a text box / area, and then push a button so that
those commands will be executed and they can see the outcome. But I am
uncertain how to actually get those expressions evaluated straight from the
text box or text area. Can anyone help out here? Thanks.