文件名称:PA2
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- Nop***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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