资源简介
java大作业在线购物系统,根据老师所给的框架编写
代码片段和文件信息
import java.awt.*;
import java.applet.*;
import javax.swing.*;
/*
* E-Store
* 如果所购商品总额大于$100,免费运送,否则加 $2.00的运送费。
*/
public class CopyOfEStore extends applet {
//常量
private static final float COAT_PRICE = 50.00f;
private static final float SHIRT_PRICE = 25.50f;
private static final float SHOES_PRICE = 39.99f;
private static final float HAT_PRICE = 10.00f;
private static final String TOTAL_STR = “Your current total = $“;
private static final String RESET = “RESET“;
private static final String PURCHASE = “Purchase Item“;
private static final String REMOVE = “Remove Item“;
private static final String CHECK_OUT = “Check out“;
private static final String COAT_STR = “WINTER COAT“;
private static final String SHIRT_STR = “LON
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 226 2011-04-25 18:28 Asn1\.classpath
文件 380 2011-04-25 18:28 Asn1\.project
文件 3178 2011-04-27 13:39 Asn1\CopyOfEStore.class
文件 4202 2011-04-27 13:39 Asn1\CopyOfEStore.java
文件 5551 2011-05-18 17:06 Asn1\EStore.class
文件 267 2011-04-27 13:06 Asn1\EStore.html
文件 7475 2011-05-12 09:30 Asn1\EStore.java
文件 93 2011-04-27 13:52 Asn1\EStore1303883534873.html
文件 95 2011-05-12 09:31 Asn1\EStore1304938521235.html
文件 93 2011-05-09 19:16 Asn1\EStore1304939813164.html
文件 93 2011-05-09 19:17 Asn1\EStore1304939864361.html
文件 93 2011-05-09 19:19 Asn1\EStore1304939981276.html
文件 93 2011-05-09 19:22 Asn1\EStore1304940166840.html
文件 93 2011-05-09 19:26 Asn1\EStore1304940366325.html
文件 93 2011-05-09 23:21 Asn1\EStore1304954461082.html
文件 141 2011-04-27 12:29 Asn1\java.policy.ap
文件 1725 2011-05-09 23:22 Asn1\ShoppingCart.class
文件 2259 2011-05-09 23:22 Asn1\ShoppingCart.java
文件 1146 2011-04-25 19:15 Asn1\Test.class
文件 540 2011-04-25 19:05 Asn1\Test.java
目录 0 2011-05-09 23:23 Asn1
----------- --------- ---------- ----- ----
27836 21
评论
共有 条评论