Welcome![Sign In][Sign Up]
Location:
Downloads Documents Software Engineering
Title: 00 Download
 Description: (1) programming ideas: in this case because to make the calculator, so first class definition Calculator with calculating functions. Defined handler arithmetic operations in the class Calculator, named as opAdd (), opSubtract (), opMultiply (), opDivide (). Then, because to achieve the realization of the effect of human-computer interaction, so the user interface must first define the implementation class CalculatorGUI. () Function layout of the user interface by the Panel class setLayout. In addition, to be implemented on the button event listener through actionPerformed (ActionEvent event)) function, and different operations depending on the button event. Finally, because the user interface classes to achieve fusion and processing operation class. Therefore, the user interface for the class (CalculatorGUI) process operation as defined in class (Calculator) object, so to complete the functions of the calculator.
 Downloaders recently: [More information of uploader 张飞]
 To Search:
File list (Check if you may need any files):
 

练习100计算器\Calculator.class
.............\Calculator.java
.............\CalculatorGUI.class
.............\CalculatorGUI.java
.............\_desktop.ini
.............\练习100计算器.doc
练习100计算器
    

CodeBus www.codebus.net