资源简介
用java实现的简单地网络竞价拍卖软件
采用Eclipse软件进行编程,代码量900,另有报告,需要者另联系。由于本人的能力有限,其中的缺陷及不足敬请见谅

代码片段和文件信息
import java.awt.*;
import java.awt.event.*;
import java.net.ServerSocket;
import java.util.ArrayList;
import javax.net.ssl.SSLContext;
import javax.swing.*;
public class AcutionServer extends Jframe implements ActionListener{
String winner = “NO user“;
int salePrice = 40;
int nameID=0;
JPanel jp = new JPanel();
JLabel lowPrice = new JLabel(“起价40 RMB¥“);
JButton[] jba = {
new JButton(“下一件“)
new JButton(“竞拍“)
new JButton(“退出“)
};
CardLayout cl = new CardLayout();
JLabel userOlineJLabel = new JLabel(“竞拍记录“);
JTextArea text = new JTextArea();
JScrollPane acutionLogSp = new JScrollPane(text);
JLabel lastPricelb = new JLabel(“成交价格 :“);
JLabel lastUserlb = new JLabel(“成交用户 :“);
JLabel countDown = new JLabel(“拍卖倒数计时“);
JTextField timeJf = new JTextField();
JTextField lastPriceTf = new JTextField();
JTextField lastUserTf = new JTextField();
JLabel onlineUserLb = new JLabel(“在线用户“);
JList onlineUserTa = new JList();
JScrollPane onlineUserJp = new JScrollPane(onlineUserTa);
JLabel userQ = new JLabel(“用户咨询服务端“);
JTextArea questLoge = new JTextArea();
JScrollPane questJp = new JScrollPane(questLoge);
JTextArea answerJa = new JTextArea();
JScrollPane answerJPane = new JScrollPane(answerJa);
JButton answerOK = new JButton(“发送“);
ServerTread st;
CountThread ct;
ServerSocket ss;
ArrayList alOnline = new ArrayList();
public AcutionServer(){
this.settitle(“竞价拍卖系统 服务器端 V0.01“);
this.setDefaultCloseOperation(Jframe.EXIT_ON_CLOSE);
this.setBounds(2020600800);
this.setVisible(true);
this.setLayout(null);
this.setState(false);
acutionLogSp.setBounds(29045250280);
this.add(acutionLogSp);
userOlineJLabel.setBounds(3302010020);
this.add(userOlineJLabel);
lastPricelb.setBounds(33036010020);
this.add(lastPricelb);
lastPriceTf.setBounds(40036010025);
lastPriceTf.setEditable(false);
this.add(lastPriceTf);
lastUserlb.setBounds(33040010020);
this.add(lastUserlb);
lastUserTf.setBounds(40040010025);
lastUserTf.setEditable(false);
this.add(lastUserTf);
onlineUserLb.setBounds(20460100 20 );
this.add(onlineUserLb);
onlineUserJp.setBounds(20 490 250 260);
this.add(onlineUserJp);
userQ.setBounds(29046010020);
this.add(userQ);
questJp.setBounds(290490250100);
questLoge.setEditable(false);
this.add(questJp);
answerJPane.setBounds(290600250100);
this.add(answerJPane);
answerOK.setBounds(3507208030);
this.add(answerOK);
answerOK.addActionListener(this);
countDown.setBounds(2040010020);
this.add(countDown);
timeJf.setBounds(15040010030);
timeJf.setEditable(false);
this.add(timeJf);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-03-29 23:56 AcutionServer\
文件 301 2010-03-29 23:56 AcutionServer\.classpath
文件 389 2010-03-29 23:56 AcutionServer\.project
目录 0 2010-03-29 23:56 AcutionServer\.settings\
文件 629 2010-03-29 23:56 AcutionServer\.settings\org.eclipse.jdt.core.prefs
文件 13016 2010-04-11 13:18 AcutionServer\1.jpg
文件 7782 2010-04-14 23:33 AcutionServer\2.jpg
文件 12585 2010-04-11 13:18 AcutionServer\3.jpg
目录 0 2010-03-29 23:56 AcutionServer\bin\
文件 13016 2010-04-11 13:18 AcutionServer\bin\1.jpg
文件 7782 2010-04-14 23:33 AcutionServer\bin\2.jpg
文件 12585 2010-04-11 13:18 AcutionServer\bin\3.jpg
文件 1605 2010-04-18 21:11 AcutionServer\bin\AcutionServer$1.class
文件 6694 2010-04-18 21:11 AcutionServer\bin\AcutionServer.class
文件 1254 2010-04-19 23:38 AcutionServer\bin\ClientServer$1.class
文件 6847 2010-04-19 23:38 AcutionServer\bin\ClientServer.class
文件 4596 2010-04-18 21:11 AcutionServer\bin\ClientThread.class
文件 776 2010-04-18 21:11 AcutionServer\bin\Count.class
文件 3065 2010-04-18 21:11 AcutionServer\bin\CountThread.class
文件 687 2010-04-18 21:11 AcutionServer\bin\MySale.class
文件 709 2010-04-19 23:38 AcutionServer\bin\Sale.class
文件 973 2010-04-18 21:11 AcutionServer\bin\ServerTread.class
文件 5175 2010-04-18 21:11 AcutionServer\bin\SeverAgentTread.class
目录 0 2010-03-29 23:56 AcutionServer\src\
文件 13016 2010-04-11 13:18 AcutionServer\src\1.jpg
文件 7782 2010-04-14 23:33 AcutionServer\src\2.jpg
文件 12585 2010-04-11 13:18 AcutionServer\src\3.jpg
文件 6070 2010-04-18 02:50 AcutionServer\src\AcutionServer.java
文件 6825 2010-04-19 23:38 AcutionServer\src\ClientServer.java
文件 3786 2010-04-18 10:50 AcutionServer\src\ClientThread.java
文件 2205 2010-04-18 10:59 AcutionServer\src\CountThread.java
............此处省略2个文件信息
- 上一篇:JTable 动态添加数据
- 下一篇:JSP期末考试试题及答案
相关资源
- 微博系统(Java源码,servlet+jsp),适
- java串口通信全套完整代码-导入eclip
- JNA所需要的jar包
- jsonarray所必需的6个jar包.rar
- JSP企业人事管理系统设计(源代码+论
- 当当网完整项目、包括js、css、html
- 三角网构TIN生成算法,Java语言实现
- utgard用到的jar包
- java代码编写将excel数据导入到mysql数据
- 实现一个图书管理系统
- Java写的cmm词法分析器源代码及javacc学
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- commons-beanutils-1.8.3.jar
- 推荐算法的JAVA实现
- 基于Java的酒店管理系统源码(毕业设
- java-图片识别 图片比较
- android毕业设计
- ehcache-core-2.5.1.jar
- android-support-v4.jar已打包进去源代码
- java23种设计模式+23个实例demo
- java Socket发送/接受报文
- JAVA828436
- java界面美化 提供多套皮肤直接使用
- 在线聊天系统(java代码)
- 基于Java的图书管理系统807185
- java中实现将页面数据导入Excel中
- java 企业销售管理系统
- java做的聊天系统(包括正规课程设计
- JSP,SQL,MVC的选课系统
评论
共有 条评论