(Origin section: Java
The file format in the compressed package: executable file
Attachment source: Internet
Operation mode: Windows mode
Is it verified by yourself: yes
Attachment nature: shared
Specific instructions: Use the Applet class and the ActionListener interface to write an Applet applet that calculates the sum of any two integers. The source program file name is: SumA.java
Request: 1) Enter two integers arbitrarily through two text boxes (text box names: txt1 and txt2, width is 6;), and the label name is: label.
2) Click the "Calculate" button (button name: btn) to calculate the sum of two integers, the result is displayed in the Applet window, and the output start coordinate is (200,250).
3) The layout manager is GridLayout], 1 row and 3 columns.
4) Write the A.html file that can run this Applet applet (the height of the Applet window is 200 and the width is 300).
1.doc)