byteArrayStream = new ByteArrayInputStream(UdpPacket.getData());
objectStream = new ObjectInputStream(byteArrayStream);
dp = (DataPacket) objectStream.readObject();
if (dp.getTag() == SystemConf.text) {
new ChatGui(dp,UdpSocket);
} else if (dp.getTag() == SystemConf.filePre
|| dp.getTag() == SystemConf.folderPre) {
new ConfirmGui(dp);
} else if (dp.getTag() == SystemConf.refuse) {
NoticeGui.messageNotice(new JPanel(), "传输被" + dp.getIp()