文件名称:PA2
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:16.39kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
You will create a small grocery store simulation, Grocery.java. There are 6 items for sale:
Banana - $1.25
Broccoli - $0.65
Juice - $2.60
Sugar - $4.85
Butter - $3.73
Bagel - $3.25
Your applet should be 300px by 300px pixels in size and contain 100px by 100px square boxes,
one for each of the items. Inside each of these squares, you are to create two 20px by 20px
squares, one with a plus and the other with a minus, to be used for adding and removing items
from the cart. You will also include the name of the item, its price, a counter displaying how
many of that item you currently have, and a picture of the item.
Banana - $1.25
Broccoli - $0.65
Juice - $2.60
Sugar - $4.85
Butter - $3.73
Bagel - $3.25
Your applet should be 300px by 300px pixels in size and contain 100px by 100px square boxes,
one for each of the items. Inside each of these squares, you are to create two 20px by 20px
squares, one with a plus and the other with a minus, to be used for adding and removing items
from the cart. You will also include the name of the item, its price, a counter displaying how
many of that item you currently have, and a picture of the item.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bagel.jpg
banana.jpg
broccoli.jpg
butter.jpg
juice.jpg
sugar.jpg
Grocery.java
banana.jpg
broccoli.jpg
butter.jpg
juice.jpg
sugar.jpg
Grocery.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.