-----------------------------------------------------Experimental Report--------------------------------------------------------
First, the purpose of the experiment
A, Project description:
Improved the Java calculator designed for the previous project and designed a feature-enhanced calculator. From the most basic add, subtract, multiply, divide, to the basic mathematical function processing, and then to the number of the conversion processing. Compared to the previous experiment, in terms of the project, it belongs to the upgraded version. is in line with the software development of the late operation and maintenance spirit.
B, Function realization:
1. Use the overlay of two panels to make an interface.
2. Perform various operations of the simple calculator by invoking the member method of the class in the button's Click event handling method Calculate (), and implement the arithmetic function correctly.
3. Call the methods in the math package to implement each function function.
4. Add the menu bar, list the ' options ', ' convert ', ' Help ' menu options, and implement the ' opt-out ' function, respectively, by invoking the method in the integer package to implement the binary, octal conversion, ' Help ' menu bar ' usage ' prompt dialog box.
5. The entire program dialog can be minimized, maximized, and closed.
Second, the experimental conditions
1.PC Machine One set
2.java Software Development Environment
Third, the experimental steps
A, division of labor Arrangements:
In this experiment, when I initially identified the project, Daismin and I tended to have different pairs, but because of the coherence and consistency of the previous experiment. And make full use of the lessons learned from the previous period, and finally determined that this experiment is to do a simple computer with function operations. This is also the project she has proposed.
So the function of this experiment is expected to be conceived, and realized in a way that she has planned. So the main program code has a reference to the previous experiment. Because my programming foundation is good, the procedure of this experiment is mainly by me type. Most of the programs we write this time are implemented by invoking the methods in each package, and we have a good understanding of the relationship between package and class invocation.
After the experiment is completed, she organizes the code, organizes the general flow of the experiment report, and organizes the job submission format. And I am responsible for the final program inspection and calibration. Make sure there are no obvious unreasonable places.
B, code and:
GitHub address: https://github.com/mengmengda123/text/blob/master/Knot pair Project _jisuanji2.java
Pairing partner GitHub address: https://github.com/daishimin/test/blob/master/Knot pair Project _jisuanji2.java
Program test:
Iv. experience of the experiment
According to the requirements of the design of the project, divided into pieces, division of labor, work together to achieve the function of the program.
In practice I encountered a lot of problems, but we through cooperation complementary, find information and other ways to overcome, and finally I successfully completed the course design. I fully understand the Java face the characteristics of the object, and realize that the real Java large project, by the team will be successfully completed.
In practice at the same time, I have grown a lot, especially in the compilation and debugging of the program has mastered a lot of skills and methods, benefited from.
Pair item 3-Functional enhancement with basic function calculation Java Calculator