• 大小: 1.62MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-12
  • 语言: Java
  • 标签: qq  聊天  java  原代码  

资源简介

java 课程设计,类似qq的聊天小程序,包含程序原代码,打包好的jar包,课程设计实验报告java 课程设计,类似qq的聊天小程序,包含程序原代码,打包好的jar包,课程设计实验报告java 课程设计,类似qq的聊天小程序,包含程序原代码,打包好的jar包,课程设计实验报告

资源截图

代码片段和文件信息

package com.ctu.jsj;

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;

public class About extends JDialog {

JPanel titlePanel = new JPanel();
JPanel contentPanel = new JPanel();
JPanel closePanel = new JPanel();

JButton close = new JButton();
JLabel title = new JLabel(“聊天室服务端帮助“);
JTextArea help = new JTextArea();

Color bg = new Color(255255255);

public About(Jframe frame) {
super(frametrue);
try {
jbInit();
} catch (Exception e) {
e.printStackTrace();
}
// 设置运行位置
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
this.setLocation((int) (screenSize.width - 400) / 2+25
(int) (screenSize.height - 320) / 2);
this.setResizable(false);
}

private void jbInit() throws Exception {
this.setSize(new Dimension(350270));
this.settitle(“我们几个“);
titlePanel.setBackground(bg);
contentPanel.setBackground(bg);
closePanel.setBackground(bg);

help.setText(“成员:\n“+“曹伟峰  0708班  服务器端代码!\n“
+“陈国柱  0708班  客户端代码!\n“
+“李巍巍  0707班  测试运行代码!\n“
+“刘文萍  0708班  界面设计代码!\n“);
help.setEditable(false);

titlePanel.add(new Label(“             “));
titlePanel.add(title);
titlePanel.add(new Label(“             “));

contentPanel.add(help);

closePanel.add(new Label(“             “));
closePanel.add(close);
closePanel.add(new Label(“             “));

Container contentPane = getContentPane();
contentPane.setLayout(new BorderLayout());
contentPane.add(titlePanelBorderLayout.NORTH);
contentPane.add(contentPanelBorderLayout.CENTER);
contentPane.add(closePanelBorderLayout.SOUTH);

close.setText(“关闭“);
// 事件处理
close.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
dispose();
}
});
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      19492  2009-09-23 15:29  聊天程序\45478\ChatClient.jar

     文件      19496  2009-09-23 15:29  聊天程序\45478\ChatServer.jar

     文件      25676  2009-09-21 20:31  聊天程序\45478\images\Chat00.jpg

     文件     197370  2009-09-22 18:45  聊天程序\45478\images\Chat01.jpg

     文件      38688  2009-09-22 18:14  聊天程序\45478\images\Chat02.jpg

     文件      91531  2009-09-22 18:25  聊天程序\45478\images\Chat03.jpg

     文件      58323  2009-09-22 18:59  聊天程序\45478\images\Chat04.jpg

     文件      81812  2009-09-22 22:00  聊天程序\45478\images\Chat05.jpg

     文件      90752  2009-09-21 16:07  聊天程序\45478\images\Chat06.jpg

     文件        301  2009-09-20 21:50  聊天程序\45478\test\.classpath

     文件        380  2009-09-20 21:50  聊天程序\45478\test\.project

     文件        629  2009-09-20 21:50  聊天程序\45478\test\.settings\org.eclipse.jdt.core.prefs

     文件        669  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\About$1.class

     文件       2925  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\About.class

     文件       2903  2009-09-22 19:25  聊天程序\45478\test\bin\com\ctu\jsj\ChatServer$Client.class

     文件       2665  2009-09-22 19:25  聊天程序\45478\test\bin\com\ctu\jsj\ChatServer.class

     文件       2118  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\Client$MenuListener.class

     文件       1690  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\Client$RecvThread.class

     文件       2008  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\Client$TFListener.class

     文件       3068  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\Client.class

     文件       1057  2009-09-22 19:35  聊天程序\45478\test\bin\com\ctu\jsj\frame$1.class

     文件        654  2009-09-22 19:35  聊天程序\45478\test\bin\com\ctu\jsj\frame$2.class

     文件       3472  2009-09-22 19:35  聊天程序\45478\test\bin\com\ctu\jsj\frame.class

     文件        663  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\Help$1.class

     文件       2916  2009-09-22 18:26  聊天程序\45478\test\bin\com\ctu\jsj\Help.class

     文件       1092  2009-09-22 19:25  聊天程序\45478\test\bin\com\ctu\jsj\Serverframe$1.class

     文件       2049  2009-09-22 19:25  聊天程序\45478\test\bin\com\ctu\jsj\Serverframe.class

     文件      25676  2009-09-21 20:31  聊天程序\45478\test\images\Chat00.jpg

     文件     197370  2009-09-22 18:45  聊天程序\45478\test\images\Chat01.jpg

     文件      38688  2009-09-22 18:14  聊天程序\45478\test\images\Chat02.jpg

............此处省略28个文件信息

评论

共有 条评论