资源简介

一个使用JAVA语言做的局域网即时通讯软件项目,实现了多人局域网通讯,传文件功能!无须专门的服务器,每个窗户端都是服务器,也是客户端,使用SOCKET实现!还使用了自定义的协议,想要学习JAVA网络通讯的人这个必需下载了!!

资源截图

代码片段和文件信息

/**
 * 

 * title:  ChatParamBean.java
 * Project:  GuQiu
 * Type: leoly.beans.ChatParamBean
 * Author: 255507
 * Create:   2011-9-8 上午11:29:05
 * Copyright:  Copyright (c) 2011
 * Company:
 * 

 */
package leoly.beans;

import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JTextArea;

/**
 * 

 * 聊天窗口参数
 * 

 * @author 255507
 * @version 1.0 2011-9-8
 */
public class ChatParamBean
{
private JDialog parent;

private JTextArea chatPanel;

private JTextArea inputPanel;

private JLabel fileLabel;

public JDialog getParent()
{
return parent;
}

public void setParent(JDialog parent)
{
this.parent = parent;
}

public JTextArea getChatPanel()
{
return chatPanel;
}

public void setChatPanel(JTextArea chatPanel)
{
this.chatPanel = chatPanel;
}

public JTextArea getInputPanel()
{
return inputPanel;
}

public void setInputPanel(JTextArea inputPanel)
{
this.inputPanel = inputPanel;
}

public JLabel getFileLabel()
{
return fileLabel;
}

public void setFileLabel(JLabel fileLabel)
{
this.fileLabel = fileLabel;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-09-07 09:01  GuQiu\
     文件         299  2011-09-07 09:01  GuQiu\.classpath
     文件         381  2011-09-07 09:01  GuQiu\.project
     目录           0  2011-09-07 09:01  GuQiu\.settings\
     文件         629  2011-09-07 09:01  GuQiu\.settings\org.eclipse.jdt.core.prefs
     目录           0  2011-09-20 10:41  GuQiu\bin\
     目录           0  2011-09-20 10:41  GuQiu\bin\leoly\
     目录           0  2011-09-20 10:41  GuQiu\bin\leoly\beans\
     文件        1304  2011-09-20 10:41  GuQiu\bin\leoly\beans\ChatParamBean.class
     文件        1907  2011-09-20 10:41  GuQiu\bin\leoly\beans\Messagetitle.class
     目录           0  2011-09-20 10:41  GuQiu\bin\leoly\frames\
     文件        8401  2011-09-08 14:36  GuQiu\bin\leoly\frames\guqiu.png
     文件         712  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$1.class
     文件         712  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$2.class
     文件         712  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$3.class
     文件        1026  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$4.class
     文件         783  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$5.class
     文件         871  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$6.class
     文件        1260  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$7.class
     文件        1197  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$8.class
     文件        1213  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe$9.class
     文件       10110  2011-09-20 10:41  GuQiu\bin\leoly\frames\Mainframe.class
     文件        5120  2011-09-08 15:09  GuQiu\bin\leoly\frames\Thumbs.db
     目录           0  2011-09-20 10:41  GuQiu\bin\leoly\threads\
     文件        2149  2011-09-20 10:41  GuQiu\bin\leoly\threads\GuQiuScaner.class
     文件        4812  2011-09-20 10:41  GuQiu\bin\leoly\threads\GuQiuSendThread.class
     文件        6280  2011-09-20 10:41  GuQiu\bin\leoly\threads\GuQiuServer.class
     目录           0  2011-09-20 10:41  GuQiu\bin\leoly\utils\
     文件        2111  2011-09-20 10:41  GuQiu\bin\leoly\utils\ChatframeFinder.class
     文件         713  2011-09-20 10:41  GuQiu\bin\leoly\utils\GuQiuConstants.class
     文件        3176  2011-09-20 10:41  GuQiu\bin\leoly\utils\GuQiuUtils.class
............此处省略17个文件信息

评论

共有 条评论