서버

it/programming

Java로 만든 TCP/IP 를 이용한 GUI채팅 소스

//서버 GUI package GUI_Chatting; import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.*; public class Server extends Frame implements ActionListener { String nickname = ""; Panel p = new Panel(); TextArea ta = new TextArea(); TextField tf = new TextField(); DataInputStream in; DataOutputStream out; Server(String nickname) { super(nickname); this.nickname=nickname; p.setLay..

반응형
훈솔
'서버' 태그의 글 목록