Write a calculator while the big homework in this semester, requiring the resolution of expressions, multi-thread (I think this is in order to use)
No time before, I only wrote the kernel. I spent a few hours a few hours in the last week and completed the docking. Unfortunately there are several functions that have not been achieved.
When I wrote, I found that the online box layout in swing was very easy. I used it to add a neat interface with the grid layout.
BigDecimal class is very good, don't write high precision, it is easy to achieve oversized N!
However, I think if I use C # to write, I should write faster. I feel that some mechanisms in C # are very easy to use.
Source code:
Http://pickup.mofile.com/2312273833643431
Executable file (JAR format, need to install JRE)
Http://pickup.mofile.com/1831798974040789