Pair programming project Replay: UI with a small high early math learning software

When implementing a personal project, because I was the foundation of Java GUI programming is still relatively weak, so I chose through command lines, focusing on the development and programming up into the efficiency of the algorithm. Could not design a better user experience, UI became my biggest regret in individual project phases.

 

At this junction when programming the project, and had the opportunity to good graphical programming Zhihao students became teammates. He learned to SIT project in GUI programming and I have accumulated to the CCF and the ACM training experience in a number of algorithms complement each other, so the programming project has ended now, I think and believe that we have learned a lot.

After discussion, we began to put into a project in four parts: SMS verification code to achieve functionality, UI interface to achieve, achieve the title function to calculate the correct answer to the title of the four options given. The spirit of "the more the more unfamiliar territory infinite surprise," I thought, I chose to develop UI interface and SDK Explore SMS verification code, Zhihao realize the topic, given the correct answer, wrong item set algorithm. During development, we help each other, he helped me solve a lot of problems on the graphical programming, I also made some suggestions algorithm. We agreed to a unified code style interface, the class implements to integrate with each other, the final completion of the project.

 

 

I would like to specifically talk about that part of my implementation. Since I did not have enough experience in GUI programming, so the problems encountered in the beginning, or more. Zhihao students helped me understand some uses (such as the difference between Button and JButton, the formatting method Jlabel text, a text entry box and a password input box to add a method, the method used Jlabel set the picture, set the background picture of the basic components of the method ), combined with the idea of ​​visual programming, through continuous debugging, I slowly to achieve the desired effect. Zhihao offers some valuable suggestions, such as account information is stored locally or server should be saved, so that we can register before login account, but also makes more sense to register. I listened carefully to the suggestions he provided to achieve the corresponding function, so our projects in each other's exchanges in continuous improvement.

 

 

I think that the SMS verification code to achieve the same functionality is a priority. I own the public through SMS signature application number, and the aid provided by Tencent cloud SDK has SMS verification code function. When I learned to text message templates, SMS API concepts, and realize a random SMS verification code on the essence of the program code generated by the template and API to send to the specified address, my heart is a modicum of success. This means I can go and explore other cloud API Tencent, Baidu cloud, etc. provided, artificial intelligence algorithms previously only heard but never truly had seemed a step closer to me.

 

 

Zhihao realized that part of the topic features and options has, since the algorithm logic is more complex, the need to deal with the situation more, so he was under a lot of effort. To my great admiration point is that when we are talking about doing the title page in order to achieve the title function display, the list Zhihao proposed by efficient implementation, in order to further improved, he did not use containers provided by Java, but like a beginner as a data structure, from the bottom (node ​​type) begins to achieve an efficient chain. This "Stay hungry, Stay foolish" attitude is worth learning.

When testing found some fly in the ointment, such as three errors generated options are retained two double type decimal, close to the correct answer on the value. So obviously it should be an integer, and the remaining three options the same as the integer is more appropriate when the correct answer. Zhihao further improve the trigonometric functions and square root calculation method, we again improved with the option to re-check method, after several debugging, we finally settled on the complete programming projects.

 

 

Sense Xie Zhihao has been a serious, responsible and patient. The pair programming a good exercise our ability to cooperate, I also benefit from this, from Zhihao learned a lot here. Pair programming end of the project, the project team GO!

Guess you like

Origin www.cnblogs.com/hnu2017/p/11605183.html