I'm trying to make this basic calculator in java just to expand my knowledge a bit. But i've already came across a problem.
The application has a textfield where you can enter a sum like: 4+(2*8)

What i wanted to use is a funtion called eval(), but Java doesn't seem to have this. Is there an equivallent? Or how could i else calculate stuff like that?

Thanks for any help.