[企业管理] 一道简单的编程题,请高手给做一下

[复制链接]
发表于 2022-9-22 21:39:35
来历版块:Java
压缩包内文件格式:可执行文件
附件来历:互联网
运行方式:Windows方式
是不是经自己验证:是
附件性质:共享
具体说明:使用Applet类和ActionListener接口,编写一个计算恣意两个整数之和的Applet小程序,源程序文件名为:SumA.java
请求:1)通过两个文本框恣意输入两个整数(文本框称号:txt1和txt2,宽度为6;),标签称号为:label。
2)单击“计算”按钮(按钮称号:btn),计算两个整数之和,成果显示在Applet窗口内,输出开始坐标为(200,250)。
3)布局管理器为GridLayout],1行3列。
4)编写可以运行此Applet小程序的A.html文件(Applet窗口的高度为200,宽度为300)。
1.doc

(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)

[下载]21393404754.rar




上一篇:JAVA的面向对象编程笔记
下一篇:java面试题

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表