1. Tasks
That is, to pursue benefits, but also to face unpredictable financial investment risks, "can not put eggs in the same basket", it is necessary to make a portfolio investment.
The above calculations and comparisons can help customers make investment decisions.
Customer: So can you help me to record a different type of investment, and dynamically show the current value of money?
1 resultlist.setvisiblerowcount (5); // The default number of bars in JList is 5 2 c.add (new3resultlist.setforeground (color.black); 4 Resultlist.setbackground (color.light_gray); 5 listmodel.addelement ("Dynamic Capital present value display ...");
When the number of display bars in the jlist is greater than 5, a scroll bar appears for easy viewing.
2. Code GitHub Address:
Https://github.com/QueenIcey/Icey/blob/master/CalculatorJD.java
3. Recording
Expected programming time |
4h |
Actual programming time |
6h |
The work of a partner |
Writing Programs |
My job. |
Modify the interface to find information |
4. Pairing companion information
Study No.: 201406114101
Name: Chujuan
Blog Address:
http://www.cnblogs.com/queenjuan/
Work Photo:
5. Summary
In writing code, two people's tacit understanding is very important, this can ensure that the pair project can carry on normally, and can improve the efficiency to some extent. As we begin to rewrite the program, we will first communicate our own previous code and analyze the pros and cons of our code, and finally mix our code with two people and determine which template to use. Fortunately, our knot-to-pair communication has been smooth, leading to a quick determination of the pairing. In this pair project, we learn each other's merits, and propose each other's shortcomings, so that later programming can play their respective strengths, to make up for their short. Although our code is simple, but also has in the study other people's bright spot, takes its director, is the study advancement impetus.
Compound interest calculation--pair programming