文件名称:java实验10(ChangeBallColor)
文件大小:5KB
文件格式:RAR
更新时间:2014-01-31 14:16:32
ChangeBallColor
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, if a user clicks the red button, the circle will turn to red.
【文件预览】:
实验10
----.project(384B)
----bin()
--------ChangeBallColor.class(574B)
--------MyPanel.class(2KB)
--------MainFrame.class(817B)
----.settings()
--------org.eclipse.jdt.core.prefs(629B)
----src()
--------MainFrame.java(467B)
--------MyPanel.java(1KB)
--------ChangeBallColor.java(304B)
----.classpath(301B)