Package net.ui

Examples of net.ui.ChatGui


                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()
View Full Code Here

TOP

Related Classes of net.ui.ChatGui

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.