日期:2014-05-20 浏览次数:20785 次
package cjco;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.Socket;
public class Recv {
static InetAddress IP = null;
static String MyObjIP = "";
static boolean isal1open = false;//ManageC_port_MDSpara0Channel_Thread类中的ChatClientFriendlist类的“单例模式”的布尔变量的“创建标记”.
static String[] casebuffera = null;
static String MyFriIP = null;
static String MyFriPort = null;
static String MyFriNum = null;
static String MyFriRole = null;
static String MyUserRole = "";
static String str0 = "";
static String MyThreadname = "";
static int semaphore = 0;
static int para3 = -1;
static int sign3 = 0;
static String buffertemp3 = "";
String str1 =null;
static String signal = null;
static int nowStringnum = 0;
static int Syslog = 0;
static int allStringnum = 20524;
static int judgeLoop = 0;
static String MyPlace = "";
static int progressvalue = 0;
public static Integer MySystemserialnum = -1;
static boolean theSportjudge = false;
static boolean loginSprotjudge = false;
//定义一个进行MyJButton2按钮的“登陆功能”的基础上,进行“接收S端的"是否是本系统中的注册的用户"的判断结果的布尔型变量”。
static boolean isOurUser= false;
//定义一个进行在用户的MyJButton2按钮的“登陆功能”的基础上,进行“接收S端的”"是否本用户的客户端超出了授权期限"的判断结果的布尔型变量。
static boolean islegit = false;
//定义一个进行在用户连入S端后,S端进行“是否在我们系统中用户有效期内”的返回布尔值,进行整个系统的授权期限验证。占据第0分支的第2个子分支,
static boolean isInUserTime = false;
//定义一个进行在用户
public static int MySysUserNum = 202;
public static int[] Doctoronline = new int[MySysUserNum];
public static int[] MyDoctorworkroomspace = new int[MySysUserNum];
public static String myCustomercaseHistoryPath = "D:\\MyDoc\\Mywork\\MyCustomerData.txt";
public static String DoctorIP = null;
public static String DoctorPort = null;
public static String D_PORT_SERVER = "192.168.1.3";
public static String S_PORT_SERVER = "192.168.1.3";
static String C_PORT_CLIENT = "127.0.0.1";
static String PayAuthorizeUrl = "";
String str = null;
String MySysRole = null;
InputStream inputstream = null;
static String SocketInfo = null;
public static String[] MyJButton0content = new String[MySysUserNum];
public static String[] MyJButton0URL = new String[MySysUserNum];
public static String[] MyJButton0Doctor_ficia = new String[MySysUserNum];
public static int[] MyJButton0SystempriKey = new int[MySysUserNum];
public static int[] MyJButton0complicatingnum = new int[MySysUserNum];
public static String[] MySysBJMemUID = null;
public static String[] MySysBJUserUID = null;
public static String[] MySysYCMemUID = null;
public static String[] MySysYCUserUID = null;
}
package cjco;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
class Test5 extends JFrame implements ActionListener{
/**
*
*/
private static final long serialVersionUID = 1L;
ChineseTeacher cjco;
public static void main(String args[]) {
new Test5();
}
public Test5(){
setBounds(new Rectangle(100,100,100,100));
JButton btn = new JButton();
btn.addActionListener(this);
this.add(btn);
cjco = new ChineseTeacher();
setVisible(true);
}
@Override
public void actionPerformed(ActionEvent arg0) {
// TODO Auto-generated method stub
for(int i =0;i<43;i++){
Recv.MyJButton0content[i] = "CJCO";
}
cjco.jb882.updateMyUI0();
}
}
package cjco;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.Serializable;
import java.util.LinkedList;
import javax.swing.JFrame;
import javax.swing.JPanel;