您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 商业计划书 > 基于java的局域网聊天系统-课程设计报告
密级:NANCHANGUNIVERSITY课程设计报告CURRICULUMDESIGNREPORT(2014—2015年)题目基于JAVA的局域网聊天系统开发学院:信息工程学院系计算机科学与技术专业班级:计算机科学与技术xxx班学生姓名:学号:指导教师:职称:起讫日期:摘要I基于JAVA的局域网聊天系统开发专业:计算机科学与技术学号:xxxxxxxxxx学生姓名:XXX指导教师:LP摘要随着计算机网络技术的发展,各种各样基于网络的应用也随之诞生,比如基于互联网的信息发布,通信,数据共享等等。局域网的发展也同样迅速。很多政府机构,企业,学校,都是先以一个统一的局域网联结在一起,再分别接入INTERNET.因此基于局域网的即时通信工具,就这样应运而生了。本文利用JAVA的UDP编程以及SWING图形界面编程技术,在WINDOWS平台上实现了具有美观图形界面的局域网聊天软件.在本实现内将客户端和服务端综合在一个程序之内,用多线程实现不同的并行任务。并模仿国内的QQ进行了人性化的界面设计,使用起来更加简单方便,并且功能十分合理、实用。通过本局域网聊天软件可以实现一对一、一对多的聊天,可以实现不同用户不同的文字字体、风格、大小、颜色的发送和显示,提供发送表情、文件、好友间的抖动提示以及聊天记录的管理等功能。关键词:局域网聊天;JAVA网络编程;UDP;多线程AbstractIILANChatSystemDevelopmentbasedonJAVAAbstractWiththedevelopmentofcomputernetworktechnology,variouskindsofapplicationsbasedonnetworkwereborn,suchasthereleaseofinformation,communication,datasharingbasedontheInternetandsoon.ThedevelopmentoftheLANisalsoquick.Manygovernmentagencies,enterprises,schools,isthefirstinaunifiednetworklinkedtogether,eachwithaccesstoINTERNET.ThusInstantCommunicationToolsbasedonLANwereborn.Inthispaper,byusingJAVAUDPprogrammingandSWINGgraphicalinterfaceprogrammingtechnology,wecangetaLANchatsoftwarewithbeautifulappearanceontheWINDOWSplatform.Intheimplementation,theclientandtheserverwereintegratedwithinaprogram,implementedwithmultithreading.AndimitatingthedomesticQQinterfacehumanizationdesign,usingmoresimpleandconvenient,andthefunctionisveryreasonable,practical.ThroughourLANchatsoftwarecanachieveonetoone,onetomanychat,senddifferentusers’differenttextfont,style,size,coloranddisplay,providethesendofexpression,file,theshakeamongfriendsandchatrecordsmanagementandotherfunctions.Keyword:LANChat;JAVAnetworkprogramming;UDP;multi-thread目录目录摘要...................................................................................................................................................IAbstract.............................................................................................................................................II第一章前言....................................................................................................................................1第二章系统可行性分析................................................................................................................22.1成本可行性分析...............................................................................................................22.2技术可行性分析...............................................................................................................2第三章需求分析............................................................................................................................33.1功能需求分析..................................................................................................................33.2性能需求分析...................................................................................................................33.3系统主要技术分析..........................................................................................................33.2.1JAVADatagramSocket........................................................................................33.2.2JAVAMulticastSocket.......................................................................................43.2.3JAVASwing..........................................................................................................53.4系统开发、运行环境分析..............................................................................................5第四章系统概要设计....................................................................................................................64.1系统功能模块设计..........................................................................................................64.2系统数据流图..................................................................................................................9第五章系统详细设计..................................................................................................................105.1详细设计概述.................................................................................................................105.2系统详细设计.................................................................................................................105.2.1登陆界面.............................................................................................................105.2.2用户主界面.........................................................................................................145.2.3聊天界面.............................................................................................................165.2.4辅助工具类.........................................................................................................19第六章系统实现..........................................................................................................................216.1总体工程架构的实现.....................................................................................................216.2具体功能实现.................................................................................................................21结
本文标题:基于java的局域网聊天系统-课程设计报告
链接地址:https://www.777doc.com/doc-4604482 .html