- 3
- 0
- 约6.38千字
- 约 11页
- 2019-09-27 发布于广东
- 举报
云南大学软件学院实验报告
姓名:土增伟学号:20111120083 班级:软件工程 日期:2014?11?18 成绩:
JAVA实验九
一、 实验目的:
熟悉J4V4中的图形化编程以及事件监听器的使用。
二、 实验要求:
Program 1
Create an application ChangeBallColor that displays a panel. This panel will contain two buttons (one for red and one for blue). It will also display a filled in circle? When the user clicks on a button, the circle should change to that color. So, if a user clicks the blue button, the circle will change to blue. Similarly,讦 a user clicks the red button, the circle will turn to red.
Program 2
Create an application AddCircles that displays a panel. This panel will contain tw
原创力文档

文档评论(0)