æ¯NetworkKawuiBawuiBo.PDF
|
|
- ìì§ ê³µ
- 6 years ago
- Views:
Transcription
1 ( Jr.) from Yongwoo s Park Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 1
2 Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 2
3 1. / / / ClientLobby/Lobby... 8 ClientRoom/Room (DIALOGBOX) (CardLayout)...14 Absolute Positioning / SOCKET SERVERSOCKET / PpiKki ServerPlayer...20 Lobby...21 Room...24 ClientLobby...27 Client Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 3
4 from Yongwoo s Park (KawuiBawuiBo)..,.,..., /,.,,.,. ^^...,.,.. Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 4
5 1. /. 1 /.,. (.) ClientLobby PpiKki ServerSocket accept 4001 (Socket),. PpiKki ServerSocket 4001 (accept),,, ServerPlayer., ServerPlayer ClientLobby. PpiKki ServerPlayer, Lobby chatlist., Lobby Room. Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 5
6 Lobby Room, ServerPlayer chatlist.,, ServerPlayer chatlist. Lobby chatlist ServerPlayer Room playerlist., ClientRoom. /.,,. ClientLobby,.,,,., ClientRoom. ClientRoom.,.,, ClientLobby.,,. PpiKki,. ( ) (ServerSocket 4001 accept.),, ServerPlayer ServerPlayer., ServerPlayer Lobby chatlist, Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 6
7 Lobby.,,,. ServerPlayer.,., ServerPlayer Lobby chatlist Room playerlist,. Lobby (Room)., PpiKki ServerPlayer, Lobby chatlist, Lobby chatlist., Room, ServerPlayer chatlist Room playerlist,.,, Lobby ServerPlayer chatlist Room playerlist. Room. Room., Room Lobby ServerPlayer playerlist.,,..,.,. (ClientLobby) (Lobby) Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 7
8 (Lobby) (ClientLobby) (ClientRoom) (Room) (Room) (ClientRoom), (ClientLobby), (Lobby)., ClientLobby Lobby, ClientLobby Lobby,. Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 8
9 2. ClientLobby Lobby, ClientRoom Room. Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 9
10 3. ClientRoom Room (Dialogbox) Dialog., Dialog., (modal) (non-modal modal-less).., Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 10
11 ,,. (modal-less or non-modal),.. TextDialog WarningDialog,. 1. TextDialog.java, WarningDialog.java class TextDialog extends Dialog { Label msglabel = null; TextField field = null; String strtitle=null; public TextDialog(Frame owner, String title, String msg) { super(owner, title); // setmodal(true); // /* */ addwindowlistener(new WindowAdapter() { public void windowclosing(windowevent e) { field.settext(""); dispose(); // ); field.addactionlistener(new ActionListener() { public void actionperformed(actionevent ae) { if(ae.getsource() == field) { dispose(); ); class WarningDialog extends Dialog { Button okbutton=null; Label msglabel=null; public WarningDialog(Frame owner, String title, String message) { super(owner, title, true); //, modal /* */ okbutton.addactionlistener(new ActionListener() { public void actionperformed(actionevent e) { dispose(); ); addwindowlistener(new WindowAdapter() { public void windowclosing(windowevent e) { dispose(); ); pack(); autoalign(); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 11
12 public void autoalign() { // int sw = Toolkit.getDefaultToolkit().getScreenSize().width; int sh = Toolkit.getDefaultToolkit().getScreenSize().height; int dw = getsize().width; int dh = getsize().height; int x = (((sw - dw) / 2) < 0)? 0 : ((sw - dw) / 2); int y = (((sh - dh) / 2) < 0)? 0 : ((sh - dh) / 2); setlocation(x, y);,. 2. ClientLobby.java TextDialog s = new TextDialog((Frame)(ClientLobby.this.getParent()), "...", "..."); s.show(); roomid = s.field.gettext().trim(); if(!"".equals(roomid)) { /* */ WarningDialog w = new WarningDialog((Frame)(ClientLobby.this.getParent()), "Warning", "."); w.show();,. 4. TextDialog WarningDialog Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 12
13 ..,. : setlocation(x, y) setsize(width, height). :, paint. 3. ImageComponent.java, ImageButton.java class ImageComponent extends Canvas { Image image=null; public ImageComponent(Image image) { this.image = image; if(this.image!= null) { setsize(image.getwidth(this), image.getheight(this)); public void paint(graphics g) { if(image!= null) { g.drawimage(image, 0, 0, this); class ImageButton extends Canvas { private Image currentimage=null; private Image pressedimage=null; private Image releasedoffimage=null; private Image releasedonimage=null; private ActionListener al=null; public ImageButton(Image releasedoff, Image releasedon, Image pressed) { this.pressedimage = pressed; this.releasedoffimage = releasedoff; this.releasedonimage = releasedon; this.currentimage = releasedoff; setsize(releasedoff.getwidth(this), releasedoff.getheight(this)); addmouselistener(new MouseAdapter () { public void mousepressed(mouseevent e) { Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 13
14 currentimage = pressedimage; repaint(); public void mousereleased(mouseevent e) { currentimage = releasedoffimage; repaint(); ActionEvent ae = new ActionEvent(ImageButton.this, ActionEvent.ACTION_PERFORMED, "ImageButton"); al.actionperformed(ae); // ActionListener public void mouseentered(mouseevent e) { currentimage = releasedonimage; repaint(); public void mouseexited(mouseevent e) { currentimage = releasedoffimage; repaint(); ); public void addactionlistener(actionlistener al) { this.al = al; // ActionEvent ActionListener public void paint(graphics g) { if(currentimage!= null) { g.drawimage(currentimage, 0, 0, getsize().width, getsize().height, this); ImageCanvas ImageButton., paint., ImageButton, AWT Button ActionListener, ActionEvent., addactionlistener() ActionListener, ActionEvent, ActionListener.,,,., ka wuibawuibo CardLayout Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 14
15 LobbyPanel lobbypanel, BoardPanel boardpanel cardpanel (makebutton) (joinbutton).,, lobbypanel boardpanel. kawuibawuibocardlayout.show(cardpanel, "BoardPanel");, Client (exitbutton), boardpanel lobbypanel Client parentapplet. parentapplet. kawuibawuibocardlayout.show(parentapplet.cardpanel, "LobbyPanel");,. 5. Panel.,,. ClientLobby. Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 15
16 , ImageCanvas.,,. null,., ImageCanvas lobbypanel (add),. ImageCanvas lobbypanel,. 4 (x, y, width, height).,,. public class ClientLobby extends Applet implements Runnable { /* */ public Panel initlobbypanel() { /* */ lobbypanel = new Panel(null); backgroundcanvas.setbounds(0, 0, 776, 585); roomlist.setbounds(14, 145, 537, 212); playerlist.setbounds(568, 145, 202, 212); chatarea.setbounds(80, 389, 690, 101); chatfield.setbounds(14, 502, 756, 26); lobbypanel.add(roomlist); lobbypanel.add(playerlist); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 16
17 lobbypanel.add(chatarea); lobbypanel.add(chatfield); lobbypanel.add(makeroombutton); lobbypanel.add(joinroombutton); lobbypanel.add(exitbutton); lobbypanel.add(backgroundcanvas); // add (mechanism).,. ServerSocket (server socket)., ServerSocket Socket /,. 6. / Client Client Program Program String host = park.konkuk.ac.kr ; Socket s = new Socket(host, 4444); Connection established Server Server Program Program ServerSocket server; server = new ServerSocket (4444); Socket s = server.accept(); #1234 #1234 TCP/IP TCP/IP #4444 #4444 Inputstream in = s.getinputstream(); Outputstream out = s.getoutputstream(); Inputstream in = s.getinputstream(); Outputstreamout = s.getoutputstream(); /* Communication */ in out out in /* Communication */ In.close(); out.close(); s = null; In.close(); out.close(); s = null; park.konkuk.ac.kr (listen),. 6., 4444 (listen), 4444.,, ( 1234) Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 17
18 . ( )., PpiKki, ServerPlayer, Lobby, Room, ClientLobby, Client., TCP/IP PpiKki, ServerPlayer, ClientLobby., PpiKki ServerSocket 4001., 4001, ServerPlayer, ServerPlayer., ClientLobby 4001 Socket, Socket ( ServerPlayer). ServerSocket PpiKki, main. main 4001 PpiKki, PpiKki., PpiKki 4001 ServerSocket, Lobby Lobby., PpiKki run (accept), ServerPlayer, ServerPlayer. ServerPlayer Lobby addplayer, Lobby., SO_TIMEOUT,,. player.socket.setsotimeout(10); //, 10msec SO_TIMEOUT Lobby., Lobby Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 18
19 ,, (Blocking).., TIMEOUT, SO_TIMEOUT., Lobby GRoom. public class PpiKki extends Thread { final static int KAWUI_BAWUI_BO_GAME_PORT=4001; Lobby lobby=null; ServerSocket ppikkisocket=null; public static void main(string args[]) { System.out.println("MW Game Server Running..."); PpiKki ppikki = new PpiKki(); ppikki.start(); public PpiKki() { try { ppikkisocket = new ServerSocket(KAWUI_BAWUI_BO_GAME_PORT); catch(ioexception e) { System.out.println("IOException: "+e); System.exit(1); lobby = new Lobby(); lobby.start(); public void run() { Socket socket=null; ServerPlayer player=null; System.out.println("PpiKki thread is started..."); while(true) { try { socket = ppikkisocket.accept(); if(socket == null) { System.out.println("Can't create a socket..."); continue; else { player = new ServerPlayer(socket, lobby, null); if(player == null) { System.out.println("Can't create a player..."); continue; lobby.addplayer(player); catch(exception e) { e.printstacktrace(); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 19
20 ServerPlayer. ServerPlayer (ClientLobby), PpiKki ServerPlayer PpiKki. BufferedReader, PrintWriter. receivemessage sendmessage., receivemessage, SocketException IOException throw.,., ServerPlayer receivemessage Lobby Room, removeplayer. class ServerPlayer { public Socket socket=null; public BufferedReader is=null; public PrintWriter os=null; /* */ ServerPlayer(Socket socket, Lobby lobby, Room room) throws IOException { is = new BufferedReader(new InputStreamReader(socket.getInputStream())); os = new PrintWriter(socket.getOutputStream(), true); if(is == null) { throw new IOException(); if(os == null) { throw new IOException(); this.socket = socket; this.lobby = lobby; this.room = room; getinitialinfo(); socket.setsotimeout(10); public void getinitialinfo() { if(is!= null) { try { sendmessage("username"); playerid = receivemessage(); catch(socketexception e) { clear(); // // Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 20
21 catch(ioexception e) { clear(); public void sendmessage(string message) { if(message!= null) { os.println(message); os.flush(); if(os.checkerror()) { lobby.removeplayer(this); // ( ). // // System.out.println("Send: "+message); public String receivemessage() throws SocketException, IOException { String message=null; try { message = is.readline(); if(message == null) { // // throw(new IOException("Null pointer received...")); System.out.println("Recv: "+message); catch(socketexception e) { throw(e); catch(interruptedioexception e) { message = ""; catch(ioexception e) { throw(e); catch(exception e) { /* */ message = ""; return(message); Lobby. Lobby PpiKki. PpiKki 4001, ServerPlayer, Lobby chatlist., Lobby Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 21
22 chatlist ServerPlayer receivemessage,. public class Lobby extends Thread { Hashtable chatlist=null; Hashtable roomlist=null; // // public Lobby() { chatlist = new Hashtable(); roomlist = new Hashtable(); //, public void addplayer(serverplayer player) { if(player.playerid!= null && chatlist.get(player.playerid) == null){ String message=null; chatlist.put(player.playerid, player); message = "300 UNICAST "+player.playerid+" " +player.playerid+" ["+player.playerid+"]..."; player.sendmessage(message); message = "300 BROADCAST "+player.playerid +" * ["+player.playerid+"].."; broadcastmessage(message); sendroomlist(player.playerid); broadcastuserlist(" "); // public void takeplayerfromroom(serverplayer player) { chatlist.put(player.playerid, player); // public void removeplayer(serverplayer player) { chatlist.remove(player.playerid); broadcastuserlist(" "); // ServerPlayer public void sendmessage(string playerid, String message) { ServerPlayer player = (ServerPlayer)chatList.get(playerId); if(player!= null) { player.sendmessage(message); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 22
23 // public void makeroom(string playerid, String roomid) { ServerPlayer player = (ServerPlayer)chatList.get(playerId); Room room = new Room(roomId, player); roomlist.put(roomid, room); room.start(); // public void removeroom(string roomid) { Room room = (Room)roomList.get(roomId); if(room!= null) { roomlist.remove(roomid); room = null; broadcastroomlist(); public void broadcastmessage(string message) { /* */ public void broadcastroomlist() { /* */ public void sendroomlist(string playerid) { /* */ public void senduserlist(string playerid, String roomid) { /* */ public void broadcastuserlist(string roomid) { /* */ public boolean enterroom(string playerid, String roomid) { /* */ //.. public void run() { while(true) { // Read Data try { sleep(100); catch(interruptedexception ie) { // Enumeration e = chatlist.elements(); while(e.hasmoreelements()) { ServerPlayer player = (ServerPlayer)e.nextElement(); try { String receive = null; receive = player.receivemessage(); if(receive == null "".equals(receive)) { continue; StringTokenizer st = new StringTokenizer(receive, " "); String command = st.nexttoken(); //, if("100".equals(command)) { // 100 BROADCAST playerid * chatstr String type = st.nexttoken(); String playerid = st.nexttoken(); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 23
24 /* */ String target = st.nexttoken(); String chatstr = st.nexttoken(); String message = "300 BROADCAST " broadcastmessage(message); else if("102".equals(command)) { else if("104".equals(command)) { else if("110".equals(command)) { String playerid = st.nexttoken(); sendroomlist(playerid); else if("112".equals(command)) { +playerid+" * ["+player.playerid+"] "+chatstr; // 112 playerid roomid String playerid = st.nexttoken(); String roomid = st.nexttoken(); senduserlist(playerid, roomid); els e if("120".equals(command)) { // 120 playerid roomid String playerid = st.nexttoken(); String roomid = st.nexttoken(); makeroom(playerid, roomid); broadcastroomlist(); else if("122".equals(command)) { // 122 playerid roomid else if("180".equals(command)) { // 180 JOIN playerid else if("182".equals(command)) { // 182 LEAVE playerid catch(socketexception ne) { removeplayer(player); catch(ioexception ne) { removeplayer(player); Room. Room., Lobby, Room., chatlist ServerPlayer Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 24
25 , Room playerlist., Lobby Room,. Room Lobby.,. Room ServerPlayer receivemessage,. class Room extends Thread { String roomid=null; ServerPlayer hostplayer=null; Vector playerlist=null; /* */ public Room(String roomid, ServerPlayer player) { this.roomid = roomid; this.hostplayer = player; playerlist = new Vector(); addplayer(player); synchronized public void addplayer(serverplayer player) { if(!playerlist.contains(player)) { playerlist.addelement(player); player.room = this; broadcastuserlist(); if(playerlist.size() == 2) { startgame(); synchronized public void removeplayer(serverplayer player) { if(player == null) { return; player.room = null; if(playerlist.contains(player)) { playerlist.removeelement(player); player.lobby.takeplayerfromroom(player); if(playerlist.size() == 0) { player.lobby.removeroom(roomid); broadcastuserlist(); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 25
26 public void run() { String receive=null, message=null; Enumeration enum=null; ServerPlayer player=null; while(true) { // Read Data try { Thread.sleep(50); catch(interruptedexception ie) { enum = playerlist.elements(); while(enum.hasmoreelements()) { player = (ServerPlayer)enum.nextElement(); try { receive = player.receivemessage(); if(receive == null "".equals(receive)) { continue; // MW Game Protocol // nnn arg1 arg2 arg3... StringTokenizer st = new StringTokenizer(receive, " "); String command = st.nexttoken(); if("500".equals(command)) { // 500 BROADCAST playerid * chatstr else if("502".equals(command)) { else if("504".equals(command)) { else if("512".equals(command)) { // 512 playerid roomid else if("520".equals(command)) { // 520 START playerid else if("522".equals(command)) { // 522 PUT playerid [KAWUI BAWUI BO] else if("524".equals(command)) { // 524 POINT playerid point1 else if("580".equals(command)) { // 580 JOIN_ROOM playerid else if("582".equals(command)) { // 582 EXIT_ROOM playerid catch(socketexception e) { //Stream doesn't exist. removeplayer(player); catch(ioexception e) { //Stream doesn't exist. removeplayer(player); catch(exception e) { Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 26
27 ClientLobby Runnable Applet. ClientLobby.,., ClientLobby Client processmessage,.., ClientLobby init, BufferedReader PrintWriter I/O., Client sendtoserver receivemessage. ClientLobby, start stop., run, ClientLobby Client processmessage., ClientLobby processmessage. public class ClientLobby extends Applet implements Runnable { static String KAWUI_BAWUI_BO_GAME_SERVER; final static int KAWUI_BAWUI_BO_GAME_PORT=4001; public Socket socket=null; public BufferedReader is=null; public PrintWriter os=null; public void init() { KAWUI_BAWUI_BO_GAME_SERVER = getcodebase().gethost(); kawuibawuibocardlayout = new CardLayout(); cardpanel = new Panel(kawuiBawuiBoCardLayout); lobbypanel = initlobbypanel(); boardpanel = new ClientRoom(ClientLobby.this); connect(); cardpanel.add(lobbypanel, "LobbyPanel"); cardpanel.add(boardpanel, "BoardPanel"); setlayout(new BorderLayout()); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 27
28 add("center", cardpanel); kawuibawuibocardlayout.show(cardpanel, "LobbyPanel"); public Panel initlobbypanel() { /* */ return(lobbypanel); private void connect() { playerid = ""+new Date().getTime(); // try { socket = new Socket(KAWUI_BAWUI_BO_GAME_SERVER, KAWUI_BAWUI_BO_GAME_PORT); is = new BufferedReader(new InputStreamReader(socket.getInputStream())); os = new PrintWriter(socket.getOutputStream(), true); String receive=null; StringTokenizer st = null; String command = null; try { receive = receivemessage(); // "UserName" is read sendtoserver(playerid); socket.setsotimeout(10); // 10ms catch(exception e) { //Unknown error. Throw tantrum. chatarea.append(" : "+e+"\n"); catch(unknownhostexception e) { chatarea.append(" : "+e+"\n"); stop(); return; catch(socketexception e) { chatarea.append(" : "+e+"\n"); stop(); return; catch(ioexception e) { chatarea.append(" : "+e+"\n"); stop(); return; public synchronized void start() { /* */ public synchronized void stop() { /* */ Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 28
29 public void sendtoserver(string message) { if(message!= null) { os.println(message); os.flush(); if(os.checkerror()) { public String receivemessage() throws SocketException { String message = null; try { message = is.readline(); catch(socketexception e) { throw(e); catch(exception e) { return ""; return message; public void run() { String receive=null; while(thread.currentthread() == clientlobbythread) { try { Thread.sleep(100); catch(interruptedexception e) { try { receive = receivemessage(); if((receive == null) ("".equals(receive))) { continue; processmessage(receive); boardpanel.processmessage(receive); catch(socketexception e) { //Stream doesn't exist. stop(); return; catch(exception e) { //Unknown error. Throw tantrum. public void processmessage(string receive) { StringTokenizer st = new StringTokenizer(receive, " "); String command = st.nexttoken(); if("300".equals(command)) { // // 300 BROADCAST playerid * chatstr Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 29
30 String type = st.nexttoken(); String playerid = st.nexttoken(); String target = st.nexttoken(); String chatstr = st.nexttoken(); chatarea.append(chatstr+"\n"); else if("302".equals(command)) { // /* */ Client,. Client Panel.., Client ClientLobby..,., Client processmessage ClientLobby run. public class ClientRoom extends Panel { ClientLobby parentapplet=null; /* */ public ClientRoom(ClientLobby parentapplet) { this.parentapplet = parentapplet; init(); public void init() { /* */ ActionListener al = new ActionListener() { public void actionperformed(actionevent e) { String message=null; if(e.getsource() == chatfield) { String chatstr = chatfield.gettext(); if(!"".equals(chatstr)) { message = "500 BROADCAST " +parentapplet.playerid+" * "+chatstr; sendtoserver(message); Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 30
31 ; chatfield.settext(""); else if(e.getsource() == kawuibutton) { message = "522 PUT "+parentapplet.playerid+" KAWUI"; sendtoserver(message); messageboard("."); setbuttonevent(false); else if(e.getsource() == bawuibutton) { message = "522 PUT "+parentapplet.playerid+" BAWUI"; sendtoserver(message); messageboard("."); setbuttonevent(false); else if(e.getsource() == bobutton) { message = "522 PUT "+parentapplet.playerid+" BO"; sendtoserver(message); messageboard("."); setbuttonevent(false); else if(e.getsource() == exitbutton) { sendtoserver("582 EXIT_ROOM "+parentapplet.playerid); parentapplet.kawuibawuibocardlayout.show(parentapplet.cardpanel, parentapplet.buttondefaultsetting(); "LobbyPanel"); chatfield.addactionlistener(al); kawuibutton.addactionlistener(al); bawuibutton.addactionlistener(al); bobutton.addactionlistener(al); exitbutton.addactionlistener(al); /* */ // offimage = parentapplet.createimage(parentapplet.getsize().width, offgraphics = offimage.getgraphics(); // public void update(graphics g) { paint(g); public void paint(graphics g) { parentapplet.getsize().height); offgraphics.drawimage(backgroundimage, 0, 0, this); offgraphics.drawimage(kawuiimage, 110, 190, 100, 100, this); offgraphics.drawimage(bawuiimage, 355, 190, 100, 100, this); switch(myx) { case 0: offgraphics.drawimage(kawuiimage, 110, 190, 100, 100, this); break; case 1: offgraphics.drawimage(bawuiimage, 110, 190, 100, 100, this); break; case 2: offgraphics.drawimage(boimage, 110, 190, 100, 100, this); break; Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 31
32 default: offgraphics.setcolor(color.lightgray); offgraphics.fillrect(110, 190, 100, 100); break; switch(yourx) { case 0: offgraphics.drawimage(kawuiimage, 355, 190, 100, 100, this); break; case 1: offgraphics.drawimage(bawuiimage, 355, 190, 100, 100, this); break; case 2: offgraphics.drawimage(boimage, 355, 190, 100, 100, this); break; default: offgraphics.setcolor(color.lightgray); offgraphics.fillrect(355, 190, 100, 100); break; g.drawimage(offimage, 0, 0, this); public void messageboard(string message) { chatarea.append("\n[ ] "+message+"\n\n"); public String receivemessage() throws SocketException { try { return(parentapplet.receivemessage()); catch(socketexception e) { throw(e); public void sendtoserver(string message) { /* */ parentapplet.sendtoserver(message); public void processmessage(string receive) { StringTokenizer st = new StringTokenizer(receive, " "); String command = st.nexttoken(); if("700".equals(command)) { // // 700 BROADCAST playerid * chatstr String type = st.nexttoken(); String playerid = st.nexttoken(); String target = st.nexttoken(); String chatstr = st.next Token(); chatarea.append(chatstr+"\n"); else if("702".equals(command)) { // /* */ /* */ Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 32
33 , 3.,.,,.,. 3. Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 33
Chap12
12 12Java RMI 121 RMI 2 121 RMI 3 - RMI, CORBA 121 RMI RMI RMI (remote object) 4 - ( ) UnicastRemoteObject, 121 RMI 5 class A - class B - ( ) class A a() class Bb() 121 RMI 6 RMI / 121 RMI RMI 1 2 ( 7)
More informationìë°ë¡
! from Yongwoo s Park ZIP,,,,,,,??!?, 1, 1 1, 1 (Snow Ball), /,, 5,,,, 3, 3, 5, 7,,,,,,! ,, ZIP, ZIP, images/logojpg : images/imageszip :, backgroundjpg, shadowgif, fallgif, ballgif, sf1gif, sf2gif, sf3gif,
More informationMicrosoft PowerPoint - Supplement-03-TCP Programming.ppt [íží 몚ë]
- Socket Programming in Java - 목찚 ììŒìê° ìë°ììì TCP íë¡ê·žëšìì±ë°©ë² 죌ìíŽëì€ìë©ìë HTTP íë¡í ìœììŽì©íìì ììœíë¡ê·žëš Q/A ììœíë¡ê·žëš - EchoServer ììœíë¡ê·žëš - EchoClient TCP Programming 1 ììŒìê° IP, Port, and Socket í¬íž (Port): ì ì¡ê³ìžµììíµì ììííëìì©íë¡ê·žëšìì°Ÿêž°ìí죌ì
More informationìë°-11ì¥N'1-502
C h a p t e r 11 java.net.,,., (TCP/IP) (UDP/IP).,. 1 ISO OSI 7 1977 (ISO, International Standards Organization) (OSI, Open Systems Interconnection). 6 1983 X.200. OSI 7 [ 11-1] 7. 1 (Physical Layer),
More informationJMF3_ì¬ë¹êµ¬.PDF
JMF JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: Revision number: Issued by: JMF3_ doc Issue Date:
More informationMicrosoft PowerPoint - 03-TCP Programming.ppt
Chapter 3. - Socket in Java - 목찚 ììŒìê° ìë°ììì íë¡ê·žëšìì±ë°©ë² 죌ìíŽëì€ìë©ìë HTTP íë¡í ìœììŽì©íìì ììœíë¡ê·žëš ììœíë¡ê·žëš - EchoServer ììœíë¡ê·žëš - EchoClient Q/A 1 1 ììŒìê° IP,, and Socket í¬íž (): ì ì¡ê³ìžµììíµì ììííëìì©íë¡ê·žëšìì°Ÿêž°ìí죌ì ììŒ (Socket):
More informationMicrosoft PowerPoint - 04-UDP Programming.ppt
Chapter 4. UDP Dongwon Jeong djeong@kunsan.ac.kr http://ist.kunsan.ac.kr/ Dept. of Informatics & Statistics 목찚 UDP 1 1 UDP ê°ë ìë° UDP íë¡ê·žëšìì± íŽëŒìŽìžížììë²ëªšë DatagramSocket íŽëì€ë¡ìì± ìížê°íµì ì DatagramPacket íŽëì€ë¥ŒìŽì©íì¬
More information12-file.key
11 (String).. java.lang.stringbuffer. s String s = "abcd"; s = s + "e"; a b c d e a b c d e ,., "910359,, " "910359" " " " " (token) (token),, (delimiter). java.util.stringtokenizer String s = "910359,,
More information<4D F736F F F696E74202D20C1A63236C0E520BED6C7C3B8B428B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java ì 26 ì¥ì í늿 ìŽë²ì¥ììíìµí ëŽì© ì í늿ìê° ì í늿ìì±ë°ìê° ì í늿ììëª ì£Œêž° ì í늿ìììê·žëíœì»Ží¬ëížììê° Applet APIììŽì© ì¹ëžëŒì°ì ìììì€íëëììíë¡ê·žëšìžì í늿ìëíì¬íìµí©ëë€. ì í늿ìŽë? ì í늿ìì¹íìŽì§ê°ì HTML 묞ìììëŽì¥ëìŽì€íëëìë°íë¡ê·žëšìŽë€. ì í늿ìì€íìí€ëëê°ì§ë°©ë² 1. ì¹ëžëŒì°ì 륌ìŽì©íëë°©ë² 2. Appletviewer륌ìŽì©íëë°©ë²
More informationrmi_ë°ì€ì©_final.PDF
(RMI) - JSTORM http://wwwjstormpekr (RMI)- Document title: Document file name: Revision number: Issued by: Document Information (RMI)- rmi finaldoc Issue Date: Status:
More information13-Java Network Programming
JAVA Programming Language JAVA Network Programming IP Address(Internet Protocol Address) URL(Uniform Resource Location) TCP(Transmission Control Protocol) Socket UDP(User Datagram Protocol) Client / Server
More informationPowerPoint íë ì í ìŽì
@ Lesson 2... ( ). ( ). @ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member @ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data @ Program
More informationìë°GUIì€ì íë¡ê·žëë°2_ì¥ëì.PDF
JAVA GUI - 2 JSTORM http://wwwjstormpekr JAVA GUI - 2 Issued by: < > Document Information Document title: JAVA GUI - 2 Document file name: Revision number: Issued by: Issue Date:
More information<4D F736F F F696E74202D20C1A63235C0E520B3D7C6AEBFF6C5A920C7C1B7CEB1D7B7A1B9D628B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java ì 25 ì¥ë€ížìí¬íë¡ê·žëë° ìŽë²ì¥ììíìµí ëŽì© ë€ížìí¬íë¡ê·žëë°ìê°ì URL íŽëì€ TCP륌ìŽì©ííµì TCP륌ìŽì©íìë²ì ì TCP륌ìŽì©ííŽëŒìŽìžížì ì UDP 륌ìŽì©ííµì ìë°ë¥ŒìŽì©íì¬ì TCP/IP íµì ììŽì©íëììíë¡ê·žëšììì±íì¬ëŽ ìë€. ìë²ìíŽëŒìŽìžíž ìë² (Server): ì¬ì©ìë€ìê²ìë¹ì€ë¥Œì ê³µíë컎íší° íŽëŒìŽìžíž (Client):
More informationPowerPoint íë ì í ìŽì
@ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, ) @ vs. logic data method variable Data Data Flow (Type), ( ) @ Member field
More information02 C h a p t e r Java
02 C h a p t e r Java Bioinformatics in J a va,, 2 1,,,, C++, Python, (Java),,, (http://wwwbiojavaorg),, 13, 3D GUI,,, (Java programming language) (Sun Microsystems) 1995 1990 (green project) TV 22 CHAPTER
More information10áá ¡áŒ.key
JAVA Programming 1 2 (Event Driven Programming)! :,,,! ( )! : (batch programming)!! ( : )!!!! 3 (Mouse Event, Action Event) (Mouse Event, Action Event) (Mouse Event, Container Event) (Key Event) (Key Event,
More informationMicrosoft PowerPoint - ÃùÃ08ÃÃ¥-1.ppt
AWT 컎í¬ëíž (1) 1. AWT íší€ì§ 2. AWT íë¡ê·žëšê³ŒìŽë²€íž 3. Component íŽëì€ 4. 컎í¬ëížìì¹ íêž° AWT GUI 륌ë§ë€êž°ìí API ìëì°íë¡ê·žëë°ììííŽëì€ìë구륌í¬íš Graphical User Interface ê·žëíœìì륌íµíŽíë¡ê·žëšê³Œëííëë°©ì ê·žëíœìì륌 GUI 컎í¬ëížëŒíš ìëì°íë¡ê·žëšë§ë€êž° ê°ëší AWT íë¡ê·žëš import
More information10-Java Applet
JAVA Programming Language JAVA Applet Java Applet >APPLET< >PARAM< HTML JAR 2 JAVA APPLET HTML HTML main( ). public Applet 3 (HelloWorld.html) Applet
More informationë¹êžŽì¿¡-ìë° 00ìë¶ì
IT COOKBOOK 14 Java P r e f a c e Stay HungryStay Foolish 3D 15 C 3 16 Stay HungryStay Foolish CEO 2005 L e c t u r e S c h e d u l e 1 14 PPT API C A b o u t T h i s B o o k IT CookBook for Beginner Chapter
More informationì 8ì¥ ìë° GUI íë¡ê·žëë° II
ì 8ì¥ MVC Model 8.1 MVC ëªšëž (1/7) MVC (Model, View, Controller) ëªšëž ì€ìì MVC 몚ëžìêž°ìŽë¥Œëê³ ìë€. MVCë Xeroxìì°êµ¬ììì Smalltalk ìžìŽë¥Œë°íìŒë¡ì¬ì©ììží°íìŽì€ë¥Œê°ë°íêž°ìíë°©ë² MVCë 3ê°ì구ì±ììë¡êµ¬ì± Model : ìì©íë¡ê·žëšììë£ë¥Œíííêž°ìíëªšëž View : ìë£ë¥Œìê°ì ìŒë¡ (GUI ë°©ììŒë¡
More informationPowerPoint íë ì í ìŽì
@ Lesson 1,..... @ 1 Green Project 1991 Oak Java 1995. 5 December '90 by Patrick Naughton, Mike Sheridan and James Gosling Embedded in various consumer electronic device 1992. 9. 3 Star 7 1993 www portability
More information3ÃÃî-11
Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 C # N e t w o r k P r o g r a m m i n g Part 3 _ chapter 11 ICMP >>> 430 Chapter 11 _ 1 431 Part 3 _ 432 Chapter 11 _ N o t
More informationì 11ì¥ íë¡ìžì€ì ì°ë ë
ì 9ì¥ìë°ì°ë ë 9.1 Thread êž°ìŽ (1/5) íë¡ê·žëš ëª ë ¹ìŽë€ìì°ì (a sequence of instruction) íë¡ìžì€ / Thread ì€íì€ìžíë¡ê·žëš (program in execution) íë¡ìžì€ìì±ê³Œì€íììííšìë€ ìë° Thread 2 9.1 Thread êž°ìŽ (2/5) íë¡ìžì€ëšììì ì묞ì ì íë¡ìžì€ìì±ìì€ë²í€ë 컚í ì€ížì€ìì¹ì€ë²í€ë
More information<4D F736F F F696E74202D20C1A63139C0E520B9E8C4A120B0FCB8AEC0DA28B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java ì 19 ì¥ë°°ì¹êŽëŠ¬ì ìŽë²ì¥ììíìµí ëŽì© ë°°ì¹êŽëŠ¬ììê°ì ë°°ì¹êŽëŠ¬ììì¬ì© FlowLayout BorderLayout GridLayout BoxLayout CardLayout ì ëìì¹ë¡ë°°ì¹ 컚í ìŽëììì컎í¬ëížë¥Œë°°ì¹íëë°©ë²ìëíì¬ìŽíŽëŽ ìë€. ë°°ì¹êŽëŠ¬ì (layout manager) 컚í ìŽëììê°ì»Ží¬ëížììì¹ìí¬êž°ë¥Œê²°ì íëìì [3/70] ìë¹íë€ë¥Žê²ë³Žìžë€.
More information(Microsoft PowerPoint - LZVNQBAJWGTC.ppt [\310\243\310\257 \270\360\265\345])
GUI ìží°íìŽì€ììŽë²€íž íìµëª©í ìëì°í겜ìììì±ë GUI ìží°íìŽì€ììŽë²€ížê°ë ììŽíŽíë€. ë€ìí컎í¬ëížìëíìŽë²€ížë¥Œì²ëŠ¬íë€ ìŽë²€ížë? ìë°ìŽë²€ížë ì¬ì©ìê°í€ë³Žë, ë§ì°ì€ë±ìì¥ì¹ë¡ë¶í° AWT 컎í¬ëížìë°ììí€ë몚ë ì¬ê±Žìì믞 ìŽë²€ížì£Œëííë¡ê·žëšìì¬ì©ìë¡ë¶í°ë°ìëìŽë²€ížë¥Œì²ëŠ¬íì¬ì¬ì©ìììížìì©ìê°ë¥íê²íš ìë°ìŽë²€ížëªšëž 컎íší° í€ë³Žë ìŽì첎ì ë§ì°ì€ ìŽë²€ížê°ì²Žìë°ê°ìëšžì ìŽë²€ížìì€ê°ì²ŽìŽë²€ížëŠ¬ì€ëê°ì²Žì í늬ìŒìŽì
More informationJMF2_ì¬ë¹êµ¬.PDF
JMF JSTORM http://wwwjstormpekr Issued by: < > Document Information Document title: Document file name: Revision number: Issued by: JMF2_ doc Issue Date: Status: < > raica@nownurinet
More informationì€ë²ëŒìŽë© (Overriding)
WindowEvent WindowEvent ìëì°ê°ìŽëŠ¬ê±°ë (opened) ë«íë (closed) íì±íëê±°ë (activated) ë¹íì±íë ë (deactivated) ìµìíëê±°ë (iconified) ë³µê·ë ë (deiconified) ìëì°ë«íë²íŒìë륌ë (closing) WindowEvent ìì ì abstract class WindowListener
More informationch09
9 Chapter CHAPTER GOALS B I G J A V A 436 CHAPTER CONTENTS 9.1 436 Syntax 9.1 441 Syntax 9.2 442 Common Error 9.1 442 9.2 443 Syntax 9.3 445 Advanced Topic 9.1 445 9.3 446 9.4 448 Syntax 9.4 454 Advanced
More informationæ¯JavaExceptionHandling.PDF
(2001 3 ) from Yongwoo s Park Java Exception Handling Programming from Yongwoo s Park 1 Java Exception Handling Programming from Yongwoo s Park 2 1 4 11 4 4 try/catch 5 try/catch/finally 9 11 12 13 13
More information<4D F736F F F696E74202D20C1A63138C0E520C0CCBAA5C6AE20C3B3B8AE28B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java ì 18 ì¥ìŽë²€ížì²ëŠ¬ ìŽë²ì¥ììíìµí ëŽì© ìŽë²€ížì²ëŠ¬ìê°ì ìŽë²€íž ì¡ì ìŽë²€íž Key, Mouse, MouseMotion ìŽëí°íŽëì€ ë²íŒìë륎멎ë°ìíëë¡ë§ë€ìŽëŽ ìë€. ìŽë²ì¥ì목í ë²íŒìë륎멎ë²íŒìí ì€ížê°ë³ê²œëê²íë€. ìŽë²€ížì²ëŠ¬ê³Œì ìŽë²€ížì²ëŠ¬ê³Œì (1) ìŽë²€ížë¥Œë°ìíë컎í¬ëížë¥Œìì±íì¬ìŒíë€. ìŽë²€ížì²ëŠ¬ê³Œì (2) ìŽë²€ížëŠ¬ì€ëíŽëì€ë¥Œìì±íë€.
More information<4D F736F F F696E74202D20C1A63233C0E520B1D7B7A1C7C820C7C1B7CEB1D7B7A1B9D628B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java ì 23 ì¥ê·žëíœíë¡ê·žëë° ìŽë²ì¥ììíìµí ëŽì© ìë°ìììê·žëíœ êž°ìŽì¬í êž°ìŽëí귞늬Ʞ ìì í°íž Java 2D Java 2D륌ìŽì©í귞늬Ʞ Java 2D 륌ìŽì©íì±ì°êž° ëííì 곌ííìŽë ìë°ë¥ŒìŽì©íì¬ìíë©Žì귞늌ìê·žë €ëŽ ìë€. ìë°ê·žëíœë°ëªš ìë°ê·žëíœìëê°ì§ë°©ë² ìë°ê·žëíœ AWT Java 2D AWT륌ì¬ì©í멎Ʞ볞ì ìžëíë€ììœê²ê·žëŠŽììë€. ìŽëìëìì€íëë€.
More informationMicrosoft PowerPoint - RMI.ppt
( ë¶ì°íµì ì€ìµ ) RMI RMI ìµíêž° 1. ë¶ì°í겜ììëìíë message-passingììŽì©í boundedbuffer íŽë²íë¡ê·žëšìì€ííŽë³Žìžì. ìì€ìœë : ftp://211.119.245.153 -> os -> OSJavaSources -> ch15 -> rmi http://marvel el.incheon.ac.krì Information Unix
More informationAnalytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras
Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Crash Unity SDK... Log & Crash Search. - Unity3D v4.0 ios
More information5áá ¡áŒ.key
JAVA Programming 1 (inheritance) 2!,!! 4 3 4!!!! 5 public class Person {... public class Student extends Person { // Person Student... public class StudentWorker extends Student { // Student StudentWorker...!
More informationMicrosoft PowerPoint - [EEL2] Lab10.pptx
Lab10 (Week 13) ë€ížìí¬íë¡ê·žëë° ì ìê³µíì€í 2 Week13: ì€ìµê³Œì (Lab10) Lab10 #1~#4 ì€ìµìŒì€ìµìê°ì¢ ë£ìê¹ì§ìŽë©ìŒë¡ì ì¶ ìŽë©ìŒì 목 : [EEL2] Lab10-Part1 Lab10 #5~#7 ë€ì죌ì€ìµìê°ìììíëì¹ŽíŒ ( 늬í¬íž ) ë¡ì ì¶ ëŠ¬í¬ížì 목 : [EEL2] Lab10-Part2 ìµì 1 ìê°ìì€ìµì€ììì€ìµìì§ííŽìŒí©ëë€.
More informationPowerPoint Presentation
ê°ì²Žì§í¥íë¡ê·žëë° ìží°íìŽì€, ëë€ì, íší€ì§ ( ì€ìµ ) ìììŽ ssw5176@kangwon.ac.kr ìì 1. íë€ížìí¹ public interface RemoteControl { public void turnon(); // ê°ì ì íììŒ ë€. public void turnoff(); // ê°ì ì íìëë€. ìží°íìŽì€ë¥Œêµ¬í public class Television
More information14-Servlet
JAVA Programming Language Servlet (GenericServlet) HTTP (HttpServlet) 2 (1)? CGI 3 (2) http://jakarta.apache.org JSDK(Java Servlet Development Kit) 4 (3) CGI CGI(Common Gateway Interface) /,,, Client Server
More information<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770>
i ii iii iv v vi 1 2 3 4 ê°ìëí ìì€í ì êµëŽìž íí© ì¡°ì¬ ê°ìëí íë«íŒ ê°ë° ìŽìì ìž ê°ìëíìì€í ì 믞ëì ì ì 5 ì¹-êž°ë° ê°ìëí ìì€í ì íµì ìž êµì ë°©ë² ìê°/ê³µê° ì ìœì 극복í íìµëêž° ë¶ì¬ êµìì ìŒë°©ì ìž ëŽì©ì ë¬ êµìì íìê°ì ìížìì© ëë£ íìë€ ê°ì ìížìì© ê°ìëí ìŽì ê³µì§ì¬í,ê°ìë¡ ìë£ì€, ë©ëªš ì§ììëµ,
More information6죌찚.key
6, Process concept A program in execution Program code PCB (process control block) Program counter, registers, etc. Stack Heap Data section => global variable Process in memory Process state New Running
More information9áá ¡áŒ.key
JAVA Programming 1 GUI(Graphical User Interface) 2 GUI!,! GUI! GUI, GUI GUI! GUI AWT Swing AWT - java.awt Swing - javax.swing AWT Swing 3 AWT(Abstract Windowing Toolkit)! GUI! java.awt! AWT (Heavy weight
More informationFileMaker ODBC and JDBC Guide
FileMaker 13 5 5 5 6 6 6 7 7 8 8 8 8 9 9 10 10 11 11 12 12 12 12 12 12 13 13 14 14 16 16 18 4 19 19 20 20 21 21 21 23 23 23 23 25 26 26 26 26 27 28 28 28 28 29 31 31 32 33 33 33 33 34 34 35 35 35 36 1
More informationCluster management software
ìë°íë¡ê·žëë° (OCJP êµì ê³µìžì격췚ëì€ì¬ ) 충ë¶ëíêµì 볎íµì ê³µíë¶ ìµë¯Œ ìŽë²€ížì²ëŠ¬ ì§êžê¹ì§ GUI 륌구ì±íë Component ìì¢ ë¥ììŽ Component ë€ì Container ììì ì íê²ë°°ì¹íêž°ìí LayoutManager 륌íìµíìì ìììë§ë€ìë GUI íë¡ê·žëšì몚ìë§ê·žëŽë¯í ë¿, ì€ì Button ìë륎거ë, Frame ì°ìž¡ìëšì X íì륌íŽëŠíŽëì묎ë°ëììíì§ìììŽë²€ížì²ëŠ¬ê°í¬íšëìŽìì§ìêž°ë묞
More informationáá µá«á á µá·áá ³á á ©áá ³á á ¢áá ¥_áá ³á¯á á µá«áá ©áá ³.key
CLEAN CODE 6 11st Front Dev. Team 6 1. 2. 3. checked exception 4. 5. 6. 11 : 2 4 : java (50%), javascript (35%), SQL/PL-SQL (15%) : Spring, ibatis, Oracle, jquery ? , (, ) ( ) íŽëŠ°ìœë륌 묎ìíë€ë©Ž . 6 1. ,,,!
More informationNetwork Programming
Part 4 ìë°ë€ížìí¬íë¡ê·žëë° 1. Java IO 2. ì€ë ë (Thread) íŽëì€ììê° 3. Java Socket 1. ìë°ì ì¶ë ¥ Java_source->src->ch11 1.0 I/O Stream
More informationCluster management software
ìë°ë€ížìí¬íë¡ê·žëë° (OCJP êµì ê³µìžì격췚ëì€ì¬ ) 충ë¶ëíêµ ìµë¯Œ Ʞ볞ìì ììžíŽëì€ë¥Œì ìíê³ ì¬ì©íëìì class NewException extends Exception { public class ExceptionTest { static void methoda() throws NewException { System.out.println("NewException
More informationMicrosoft PowerPoint - EEL2 Lecture10 -Swing and Event Handling.pptx
ì ìê³µíì€í 2 1 WEEK10: SWING AND EVENT HANDLING Fall, 2014 걎êµëì ìê³µíë¶ Notice: 죌ë³ê°ì / ì€ìµ /HW ëŽì© 2 Week Date ê°ì죌ì Homework ì€ìµê³Œì Handouts 1 09ì 03ìŒ Orientation Lab1 Lecture0 2 09ì 10ìŒ ì¶ì 3 09ì 17ìŒ Using Objects
More informationpublic class FlowLayoutPractice extends JFrame { public FlowLayoutPractice() { super("flowlayout Practice"); this. Container contentpane = getcontentp
8 ì¥ 1 ë² public class MyFrame extends JFrame { public MyFrame(String title) { super(title); this. setsize(400,200); new MyFrame("Let's study Java"); 2ë² public class MyBorderLayoutFrame extends JFrame {
More informationNetwork Programming
Part 5 íì¥ë Network Programming êž°ì 1. Remote Procedure Call 2. Remote Method Invocation 3. Object Request Broker 2. Java RMI
More information목찚 INDEX JSON? - JSON ê°ì - JSONObject - JSONArray ììžì공공ë°ìŽí° API ìŽíŽë³Žêž° - ìì²ìžììŽíŽë³Žêž° - Result Code - ì¶ë ¥ê° HttpClient - HttpHelper íŽëì€ìì± - JSONParser íŽëì€ìì± ê³µê³µ
ë©ì ì ììë¡ìŽíì ì±í ë¡ëŽ ì±ëŽ (Chatbot) ì 묞íêž° ì ìŽ ë© ì : ìì ììŽìœëŠ¬ì ëŠ : ìì±ë¬ž ìŒ : soulgx@naver.com 1 목찚 INDEX JSON? - JSON ê°ì - JSONObject - JSONArray ììžì공공ë°ìŽí° API ìŽíŽë³Žêž° - ìì²ìžììŽíŽë³Žêž° - Result Code - ì¶ë ¥ê° HttpClient - HttpHelper
More informationMicrosoft PowerPoint - 14죌찚 ê°ììë£
Java ë¡ë§ëë Monster ì¡êž°ê²ììì ìŽíŽ 2014. 12. 2 ê²ìíë©Žë°ê²ìë°©ë² êž°ì¬ìŽêž°ìì¹ : (0,0) ììŽí 10 ê°ëë€ìì± ëª¬ì€í° 10 ëëë€ìì± Frame íëšìêž°ì¬ìì¹ìêž°ì¬íìì¶ë ¥ë°©í¥í€ë¡êž°ì¬ìŽëììŽí 곌몬ì€í°ëê³ ì ì¢ ë£ë²íŒíŽëŠíë©Žì¢ ë£ Project êµ¬ì± GameMain.java GUI í겜ì€ì , Main Method ê²ìê°ì²Žëšë€ìì¹ììì± Event
More informationìë° íë¡ê·žëë°
5 (kkman@mail.sangji.ac.kr) (Class), (template) (Object) public, final, abstract [modifier] class ClassName { // // (, ) Class Circle { int radius, color ; int x, y ; float getarea() { return 3.14159
More informationJava
Java http://cafedaumnet/pway Chapter 1 1 public static String format4(int targetnum){ String strnum = new String(IntegertoString(targetNum)); StringBuffer resultstr = new StringBuffer(); for(int i = strnumlength();
More information07 áá ¡áá ¡áá Ž áá ¡áá £áŒáá ¡á« áá ³á¯á á ¢áá ³.key
[ 07 ] . java.lang Object, Math, String, StringBuffer Byte, Short, Integer, Long, Float, Double, Boolean, Character. java.util Random, StringTokenizer Calendar, GregorianCalendar, Date. Collection, List,
More informationuntitled
- -, (insert) (delete) - - (insert) (delete) (top ) - - (insert) (rear) (delete) (front) A A B top A B C top push(a) push(b) push(c) A B top pop() top A B D push(d) top #define MAX_STACK_SIZE 100 int
More information05-class.key
5 : 2 (method) (public) (private) (interface) 5.1 (Method), (public method) (private method) (constructor), 3 4 5.2 (client). (receiver)., System.out.println("Hello"); (client object) (receiver object)
More informationFileMaker ODBC and JDBC Guide
FileMaker 14 5 5 5 5 6 6 6 7 7 7 8 8 8 9 9 10 10 11 11 12 12 12 12 12 13 13 14 15 16 17 18 18 19 19 20 20 20 21 21 21 22 22 22 22 23 24 24 24 24 25 27 27 28 29 29 29 29 30 30 31 31 31 32 1 1 1 1 1 1 1
More informationJavaGeneralProgramming.PDF
, Java General Programming from Yongwoo s Park 1 , Java General Programming from Yongwoo s Park 2 , Java General Programming from Yongwoo s Park 3 < 1> (Java) ( 95/98/NT,, ) API , Java General Programming
More informationì 1ì¥ ìë° ìžìŽ ìê°
Java Network 10.1 TCP/IP ìŽíŽ TCP/IP íë¡í ìœê³ìžµë Applications Transport Internetwork IP Applications TCP/UDP ICMP ARP/RARP Network Interface and Hardware Network Interface and Hardware 10.1 TCP/IP ìŽíŽ TCP/IP
More informationìœê² íìŽìŽ C íë¡ê·žëë°
Power Java ì 23 ì¥ì€ë ë ìŽë²ì¥ììíìµí ëŽì© ì€ë ëìê°ì ì€ë ëììì±ê³Œì€í ì€ë ëìí ì€ë ëìì€ìŒì€ë§ ì€ë ëê°ìì¡°ì ì€ë ëëëììì¬ë¬ê°ìíë¡ê·žëšìì€ííëíšê³Œë¥Œë ëë€. ë©í°íì€í¹ ë©í°íì€í¹ (muli-tasking) ëì¬ë¬ê°ìì í늬ìŒìŽì ìëììì€ííì¬ì컎íší°ìì€í ìì±ë¥ìëìŽêž°ìíêž°ë² ì€ë ëë? ë€ì€ì€ë ë© (multi-threading) ìíëìíë¡ê·žëšìŽëììì¬ë¬ê°ì§ìì ìí ììëë¡íëê²
More informationMicrosoft PowerPoint - 06-Chapter09-Event.ppt
AWT ìŽë²€ížì²ëŠ¬íêž° 1. ìŽë²€ížì²ëŠ¬ë°©ì 2. ìŽë²€ížíŽëì€ì늬ì€ë 3. ìŽë²€ížìŽëí° 4. ìŽë²€ížìì¢ ë¥ ìŽë²€íž (Event) ìŽë²€íž ì¬ì©ìê° UI 컎í¬ëížìëíŽì·šíëíìë¡ìžíì¬ê±ŽìŽë²€ížêž°ë°íë¡ê·žëë° ë¬Ží룚í륌ëë©Žìì¬ì©ììíìë¡ìžíìŽë²€ížë¥Œì²ì·šíì¬ìëµíëííë¡ìëíëíë¡ê·žëë° java.awt.event ìŽë²€ížì²ëŠ¬ AWT 컎í¬ëížììë°ìíëë€ìíìŽë²€ížë¥Œì²ëŠ¬íêž°ìíìží°íìŽì€ìíŽëì€ì ê³µ
More informationK&R2 Reference Manual ë²ì볞
typewriter structunion struct union if-else if if else if if else if if if if else else ; auto register static extern typedef void char short int long float double signed unsigned const volatile { } struct
More informationì¹ì°ë } ì¹ (Web) í겜ììë°ìŽí°ë² ìŽì€ìì€í ìì°ëíëë°©ë²ìë€ì곌ê°ë€ } Server Client 구조ìíµì (2-Tier) } Server Middleware Client 구조ìíµì (3-Tier) 2
DB ì WEB ì°ë (1) [2-Tier] Java Applet ìŽì© ì¹ì°ë } ì¹ (Web) í겜ììë°ìŽí°ë² ìŽì€ìì€í ìì°ëíëë°©ë²ìë€ì곌ê°ë€ } Server Client 구조ìíµì (2-Tier) } Server Middleware Client 구조ìíµì (3-Tier) 2 JAVA Applet ììŽì©í Client Server ì°ëêž°ë² } Applet
More informationPowerPoint íë ì í ìŽì
@ Lesson 4 (Object) (Class) (Instance) (Method) (Constructor) Memory 1 UML 1 @ & 1 (Real World) (Software World) @ &.. () () @ & 2 (Real World) (Software World) OOA/ Modeling Abstraction Instantiation
More informationJava ~ Java program: main() class class» public static void main(string args[])» First.java (main class ) /* The first simple program */ public class
Linux JAVA 1. http://java.sun.com/j2se/1.4.2/download.html J2SE 1.4.2 SDK 2. Linux RPM ( 9 ) 3. sh j2sdk-1_4_2_07-linux-i586-rpm.bin 4. rpm Uvh j2sdk-1_4_2_07-linux-i586-rpm 5. PATH JAVA 1. vi.bash_profile
More informationgnu-lee-oop-kor-lec10-1-chap10
ìŽìì Java ëì²ììŽì§! ì 10 ì¥ìŽë²€ížì²ëŠ¬ ìŽë²€ížë¶ë¥ ì¡ì ìŽë²€íž í€ìŽë²€íž ë§ì°ì€ìŽëìŽë²€íž ìŽëí°íŽëì€ ì€ì컎í¬ëížììíì¬ì§ìëëìŽë²€ížëí¬ê²ëê°ì§ì칎í ê³ ëŠ¬ë¡ëëìŽì§ë€. ì¬ì©ìê°ë²íŒìíŽëŠíëê²œì° ì¬ì©ìê°ë©ëŽí목ìì ííëê²œì° ì¬ì©ìê°í ì€ížíëìììí°í€ë¥Œë륎ëê²œì° ëê°ìë²íŒìë§ë€ìŽìíšëì배겜ììë³ê²œíëíë¡ê·žëšììì±íì¬ë³Žì. ìŽë²€ížëŠ¬ì€ëëíëë§ìì±íë€. class
More informationPowerPoint íë ì í ìŽì
ëª í Java Essential 1 2 íìµëª©í 1. ììŒíµì ìëíìŽíŽ 2. ìë°ë¡ê°ëšíììŒíµì íë¡ê·žëšìì± TCP/IP ìê° 3 TCP/IP íë¡í ìœ ëìì€í ê°ìë°ìŽí°ê°ììììŽìì íê²ì ì¡ëëë¡íëíµì íë¡í ìœ TCP ììëìíëìì©íë¡ê·žëšì¬ë¡ e-mail, FTP, ì¹ (HTTP) ë± TCP/IP í¹ì§ ì°ê²°ííµì íë²ì°ê²°íê³ìë°ìŽí°ì ì¡ê°ë¥ 볎ëžììëë¡ë°ììì©íë¡ê·žëšìê²ì ë¬
More information11áá ¡áŒ.key
JAVA Programming 1 GUI 2 2 1. GUI! GUI! GUI.! GUI! GUI 2. GUI!,,,!! GUI! GUI 11 : GUI 12 : GUI 3 4, JComponent 11-1 :, JComponent 5 import java.awt.*; import java.awt.event.*; import javax.swing.*; public
More information09-interface.key
9 Database insert(record r): boolean find(key k): Record 1 Record getkey(): Key * Record Key Database.? Key equals(key y): boolean Database insert(record r): boolean find(key k): Record * Database OK 1
More informationMicrosoft PowerPoint - java1-lab5-ImageProcessorTestOOP.pptx
2018 íë ë 1 íêž° JAVA íë¡ê·žëë° II 514760-1 2018 ë ëŽíêž° 5/10/2018 ë°ê²œì Lab#1 (ImageTest) Lab#1 ìììíìŒ (Image) ììœìŽìì 볎륌ì¶ë ¥ Java Tutorials Lesson: Working with Images https://docs.oracle.com/javase/tutorial/2d/images/index.html
More information03-JAVA Syntax(2).PDF
JAVA Programming Language Syntax of JAVA (literal) (Variable and data types) (Comments) (Arithmetic) (Comparisons) (Operators) 2 HelloWorld application Helloworldjava // class HelloWorld { //attribute
More informationfundamentalOfCommandPattern_calmglow_pattern_jstorm_1.0_fâŠ
Command JSTORM http://www.jstorm.pe.kr Command Issued by: < > Revision: Document Information Document title: Command Document file name: Revision number: Issued by: Issue
More informationConnection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET
135-080 679-4 13 02-3430-1200 1 2 11 2 12 2 2 8 21 Connection 8 22 UniSQLConnection 8 23 8 24 / / 9 3 UniSQL 11 31 OID 11 311 11 312 14 313 16 314 17 32 SET 19 321 20 322 23 323 24 33 GLO 26 331 GLO 26
More informationMasoJava4_Dongbin.PDF
JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: MasoJava4_Dongbindoc Revision number: Issued by: < > SI, dbin@handysoftcokr
More informationmytalk
íêµì 볎볎ížííìíížìšìŽë³Žìì°êµ¬í ìŽêŽì± ìì ì·šìœì ë¶ìí ìì€ì ( íê³µë ) ë겜구 ( íìë ) ë구ê°ë°íë겜구 ( íìë ) ìíìŽìœë©í ì€ìžë§ ( ëêµë ) ì 첎ì ìž ê·žëŠŒ IL Rules Flowgraph Generator Flowgraph Analyzer íëŠê·žëí ìì±êž° íëŠê·žëí ë¶ìêž° O parser ì€ê°ìžìŽ O íì RDL
More informationPowerPoint Presentation
ê°ì²Žì§í¥íë¡ê·žëë° ì€ë¥ì²ëŠ¬ ìììŽ ssw5176@kangwon.ac.kr ì€ë¥ë©ìì§ë¥Œë¶ìíë€. ì€ë¥ë©ìì§ììë§ìëŽì©ììììë€. 2 ëë²ê¹ ëë²ê±°ë¥Œì¬ì©íë©Žíë¡ê·žëšìììœê²ì€ë¥ë¥Œê°ì§íê³ ì§ëší ììë€. ëë²ê±°ëì€ëšì ìì€ì íì¬ìíë¡ê·žëšìì€íìì ìŽí ìììŒë©°ë¬žì¥ ëšìë¡ì€ííê±°ëë³ììê°ììŽíŽë³Œììë€. 3 ìŽíŽëŠœì€ììëë²ê¹ 4 ìŽíŽëŠœì€ììëë²ê¹ 5 ìŽíŽëŠœì€ìëë²ê¹ ëª ë ¹ìŽ 6 ììžì²ëŠ¬
More information01-OOPConcepts(2).PDF
Object-Oriented Programming Concepts Tel: 02-824-5768 E-mail: hhcho@selabsoongsilackr? OOP (Object) (Encapsulation) (Message) (Class) (Inheritance) (Polymorphism) (Abstract Class) (Interface) 2 1 + = (Dependency)
More information<4D F736F F F696E74202D20C1A63234C0E520C0D4C3E2B7C228B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java ì 24 ì¥ì ì¶ë ¥ ìŽë²ì¥ììíìµí ëŽì© ì€ížëŠŒìŽë? ì€ížëŠŒìë¶ë¥ ë°ìŽížì€ížëŠŒ 묞ìì€ížëŠŒ íìì ì¶ë ¥ ëª ë ¹ìŽíììì ì¶ë ¥ íìŒì ì¶ë ¥ ì€ížëŠŒììŽì©íì ì¶ë ¥ìëíì¬ìŽíŽëŽ ìë€. ì€ížëŠŒ (stream) ì€ížëŠŒ (stream) ì ììê°ìëë°ìŽí°ìì°ìì ìžíëŠ ìŽë€. ì€ížëŠŒìì ì¶ë ¥ì묌ìíëŠì²ëŒê°ì£Œíëê²ìŽë€. ì€ížëŠŒë€ìì°ê²°ë ììë€. ì€ê°ì ê²ë¬žì 1. ìë°ììëì ì¶ë ¥ì묎ììŽëŒê³ ì¶ìííëê°?
More information13ÃÃ¥Ãð¡ºÃ
13 CHAPTER 13 CHAPTER 2 3 4 5 6 7 06 android:background="#ffffffff"> 07
More information목찚 BUG DEQUEUE ì WAIT TIME ìŽ 1 ìŽë¯žë§ìžê²œì°, ì€ì íìê°ë§íŒëêž°íì§ìë묞ì ê°ììµëë€... 3 BUG [qp-select-pvo] group by ííìììë컬ëŒìì°žì¡°íëì§í©ì°ì°ìŽì¡Žì¬íì§ììŒë©Žê²°êŽê°ì€ë¥ê°ë°ìí ìììµëë€... 4
ALTIBASE HDB 6.5.1.5.10 Patch Notes 목찚 BUG-46183 DEQUEUE ì WAIT TIME ìŽ 1 ìŽë¯žë§ìžê²œì°, ì€ì íìê°ë§íŒëêž°íì§ìë묞ì ê°ììµëë€... 3 BUG-46249 [qp-select-pvo] group by ííìììë컬ëŒìì°žì¡°íëì§í©ì°ì°ìŽì¡Žì¬íì§ììŒë©Žê²°êŽê°ì€ë¥ê°ë°ìí ìììµëë€... 4 BUG-46266 [sm]
More informationJava ...
컎íší°ìžìŽ 1 Java ì ìŽë¬ž ì¡°ì±ìŒ 조걎묞 : if, switch ìŽë í조걎ìì¡°ì¬íì¬ê°êž°ë€ë¥žëª ë ¹ìì€í if 묞, switch 묞 if 묞 if - else 묞íì if 묞íì if ( 조걎ì ) { ëª ë ¹ë¬ž 1; ëª ë ¹ë¬ž 2;... if ( 조걎ì ) { ëª ë ¹ë¬ž 1; ëª ë ¹ë¬ž 2;... else { ëª ë ¹ë¬ž a; ëª ë ¹ë¬ž b;... ìì 1 ì ì륌ì ë ¥ë°ìì§ììíì륌íë³íëíë¡ê·žëšììì±íìì€.
More information03ì¥
CHAPTER3 ( ) Gallery 67 68 CHAPTER 3 Intent ACTION_PICK URI android provier MediaStore Images Media EXTERNAL_CONTENT_URI URI SD MediaStore Intent choosepictureintent = new Intent(Intent.ACTION_PICK, ë
More informationMicrosoft PowerPoint - ÃùÃ08ÃÃ¥-2.ppt
AWT 컎í¬ëíž (2) 1. ë©ëŽ 2. 컚í ìŽëì컚ížë¡€ 3. ë°°ì¹êŽëŠ¬ì ë©ëŽêŽë šíŽëì€ê³ìžµêµ¬ì¡° Object MenuComponent MenuBar MenuItem Menu CheckboxMenuItem PopupMenu ë©ëŽ íë€ìŽë©ëŽ ì 목íìì€ë°ìë©ëŽë°ë¥Œê°ì§ ë©ëŽë§ë€êž°ê³Œì MenuBar ê°ì²Žìì± MenuBar ìì¶ê°í Menu ê°ì²Žë¥Œìì± Menu ìì¶ê°í ëë€ë¥žìëž
More informationê°ììë£
Copyright, 2014 MMLab, Dept. of ECE, UOS Java Swing 2014 ë 3 ì ìµì±ì¢ ììžì늜ëíêµì ìì Ʞ컎íší°ê³µíë¶ chois@uos.ac.kr http://www.mmlab.net ì°šë¡ 2014ë 3ì Java Swing 2 2017-06-02 Seong Jong Choi Java Basic Concepts-3 Graphical
More informationModern Javascript
ES6 - Arrow Function Class Template String Destructuring Default, Rest, Spread let, const for..of Promises Module System Map, Set * Generator * Symbol * * https://babeljs.io/ Babel is a JavaScript compiler.
More information4ì¥.묞ì¥
ë¬žì¥ 1 ë°°ì 묞 íŒí©ë¬ž ì ìŽë¬ž 조걎묞ë°ë³µë¬žë¶êž°ë¬ž íì€ì ì¶ë ¥ ì ì¶ë ¥ íìíëì¶ë ¥ [2/33] ANSI C ìžìŽìì ì¬ ë¬žì¥ìì¢ ë¥ [3/33] ê°ìë³ììì ì¥íëë°ì¬ì© íí : < ë³ì > = < ì > ; remainder = dividend % divisor; i = j = k = 0; x *= y; íë³í êŽìí (widening) íë³í : 컎íìŒë¬ììíŽìëì ìŒë¡ë³í
More informationì¬ëŒìŽë 1
UNIT 16 ììžì²ëŠ¬ ë¡ëŽ SW êµì¡ì 3 êž° ìµìí íìµëª©í 2 ììžì²ëŠ¬êµ¬ë¬ž try-catch-finally 묞ìì¬ì©íììë€. íë¡ê·žëšì€ë¥ 3 íë¡ê·žëšì€ë¥ìì¢ ë¥ ì»ŽíìŒìë¬ (compile-time error) : 컎íìŒì€íìë°ì ë®íììë¬ (runtime error) : íë¡ê·žëšì€íìë°ì ìë¬ (error) íë¡ê·žëšìœëììíŽìíŽê²°ë ììëì¬ê°íì€ë¥ ex)
More informationJMF1_ì¬ë¹êµ¬.PDF
JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: Revision number: Issued by: 1_ doc Issue Date:
More information11 í í늿ì ì© - Java Program Performance Tuning (ê¹ëª ížêž°ì ìŽì¬)
Java Program Performance Tuning ( ) n (Primes0) static List primes(int n) { List primes = new ArrayList(n); outer: for (int candidate = 2; n > 0; candidate++) { Iterator iter = primes.iterator(); while
More informationì¬ëŒìŽë 1
ìŽë²€íž () ë? - ì¬ì©ìê°ì ë ¥ì¥ì¹ ( í€ë³Žë, ë§ì°ì€ë± ) ë±ììŽì©íŽìë°ìíëì¬ê±Ž - ìŽë²€ížë¥Œì²ëŠ¬íëíë¡ê·žëšììŽë²€ížê°ë°ìí ëê¹ì§ë¬Ží룚í륌ëë©Žìëêž°ìíììëë€. ìŽë²€ížê°ë°ìíë©Žë°ìíìŽë²€ížìì¢ ë¥ìë°ëŒí¹ì íìì ììííë€. - ìŽë²€ížêŽë šíë¡ê·žëšìì±ììíŽ java.awt.event.* íší€ì§ê°íì - ë²íŒìë륞겜ì°, 1 ë²íŒíŽëŠìŽë²€ížë°ì 2 ë°ìíìŽë²€ížìžì ( ìŽë²€ížëŠ¬ì€ëê°ìí
More informationInterstage5 SOAPìë¹ì€ ì€ì ê°ìŽë
Interstage 5 Application Server ( Solaris ) SOAP Service Internet Sample Test SOAP Server Application SOAP Client Application CORBA/SOAP Server Gateway CORBA/SOAP Gateway Client INTERSTAGE SOAP Service
More informationPowerPoint Presentation
ê°ì²Žì§í¥íë¡ê·žëë° ì€ë¥ì²ëŠ¬ ìììŽ ssw5176@kangwon.ac.kr ì€ë¥ë©ìì§ë¥Œë¶ìíë€. ì€ë¥ë©ìì§ììë§ìëŽì©ììììë€. 2 ëë²ê¹ ëë²ê±°ë¥Œì¬ì©íë©Žíë¡ê·žëšìììœê²ì€ë¥ë¥Œê°ì§íê³ ì§ëší ììë€. ëë²ê±°ëì€ëšì ìì€ì íì¬ìíë¡ê·žëšìì€íìì ìŽí ìììŒë©°ë¬žì¥ ëšìë¡ì€ííê±°ëë³ììê°ììŽíŽë³Œììë€. 3 ìŽíŽëŠœì€ììëë²ê¹ 4 ìŽíŽëŠœì€ììëë²ê¹ 5 ìŽíŽëŠœì€ìëë²ê¹ ëª ë ¹ìŽ 6 ììžì²ëŠ¬
More informationì€ë ëìì°ì ìì ì°ì ììì€ì ë©ìë : void setpriority(int newpriority) newpriority ìì€ì í ììëë±êž : 1( ê°ì¥ë®ìì°ì ìì ) ë¶í° 10( ê°ì¥ëìì°ì ìì ) ê°ì¥ëìì°ì ìì : MAX_PRIORITY, 볎íµì°ì ìì : NORM_
10 ìŽëìì¬ì©ìê°ì ë ¥íì§ììŒë©Žì¢ ë£íëìì ) import javax.swing.joptionpane; class AutoTermination { static boolean inputcheck = false; public static void main(string[] args) throws Exception { FirstThread th1 = new FirstThread();
More informationContents. 1. PMD ããããããããããããããããããããããããããããããã 2. Metrics ããããããããããããããããããããããããããããããã 3. FindBugs ããããããããããããããããããããããããããããããã 4. ããããããããããã
ì ì ë¶ìì - ìëšìŽìì§ì - Team.# 3 ê³Œëª©ëª ìíížìšìŽëªšëžë§ë°ë¶ì ëŽë¹êµì ì ì€ë²êµìë 201011320 ê¹ì©í íì 201111360 ìì€ìµ 201111347 ê¹ííž ì ì¶ìŒì 2015-06-09 1 Contents. 1. PMD ããããããããããããããããããããããããããããããã 2. Metrics
More informationJAVA PROGRAMMING ì€ìµ 09. ììžì²ëŠ¬
2015 íë ë 2 íêž° ììž? íë¡ê·žëšì€íì€ìë°ìíëìêž°ì¹ììì¬ê±Ž ììžê°ë°ìíëê²œì° ì ì륌 0ìŒë¡ëëëê²œì° ë°°ìŽìí¬êž°ë³Žë€í°ìžë±ì€ë¡ë°°ìŽììì륌ì ê·Œíëê²œì° íìŒìë§ì§ë§ë¶ë¶ììë°ìŽí°ë¥ŒìœìŒë €ê³ íëê²œì° ììžì²ëŠ¬ íë¡ê·žëšì묞ì 륌ë°ììí€ì§ìê³ íë¡ê·žëšìì€íí ììê²ì ì íì¡°ì¹ë¥Œì·šíëê² ìë°ëììžì²ëŠ¬êž°ë¥ŒìŽì©íì¬ììžì²ëŠ¬ë¥Œí ììëêž°ë²ì ê³µ ìë°ëììžë¥Œê°ì²Žë¡ì·šêž!! ëëšì륌ì ë ¥íìì€
More informationì€ë ë륌ì ì©íì§ìì결곌ìì€ë ë륌ì ì©í결곌ìë¹êµ 1) ëê°ììì ìì€ë ë륌ì¬ì©íì§ìê³ ìííì ) : ìì°šìì class ThreadTest2 { System.out.print("-");// íë©Žì - 륌ì¶ë ¥íëìì System.out.print(" ");// íë©Žì 륌ì¶ë ¥
ì€ (thread) ììŽì©íë³ë ¬ì²ëŠ¬ ì€ë ë (thread) ëì€ìì믞íë€. ìŠ, ì€íëìì¬ë¬ìì ë€ìŽê¿°ìŽì žìììì ìŒë¡ì²ëŠ¬ëë€. ê·žë°ë°, ì€ìì¬ë¬ê° ë§ë€ê³ ìŽì€ìì¬ë¬ìì ë€ìê¿°ìŽììŽì€ë€ìììì ìŒë¡ì²ëŠ¬íê²íë©Ž, ì¬ë¬ê°ììì ë€ìŽí꺌ë²ìì²ëŠ¬ëë€. ìŠ, ìŒì íëšììê°ë¹ì²ëŠ¬ëëìì ìì륌ìŠê°ìí¬ììë€. ì€ë ëìì±ë°©ë²ìëíìì ) class ThreadTest1 { ThreadClass1
More informationContents Contents 2 1 Abstract 3 2 Infer Checkers Eradicate Infer....
SV2016 ì ì ë¶ìë³Žê³ ì 201214262 ëŒê°ì 201313250 ìì§í June 9, 2016 1 Contents Contents 2 1 Abstract 3 2 Infer 3 2.1 Checkers................................ 3 2.2 Eradicate............................... 3 2.3 Infer..................................
More informationì€ê°ê³ ì¬
êž°ë§ê³ ì¬ ëŽë¹êµì : ëšêµëíêµìì©ì»Žíší°ê³µíë°ê²œì ëµìë°ëìëµìì§ìêž°ì í ê². ê³µê°ìŽë¶ì¡±í 겜ì°ë°ëìëµìì§ëªìªœìë€ììë€ê³ ëª êž°í íêž°ì í ê². ê·žìžì겜ì°ìëµìì§ë€ìªœìŽëì°ìµì§ìêž°ì íëŽì©ìëµììŒë¡ìžì ìíš. ëµ ìëë°ëìë€ëªšë¥Œì³ìíì€ííìí ê². ëµìì§ìí곌, íë², ìŽëŠìžì볞ìžììíž (4 ì늬ì«ì ) 륌Ʞì íë©Žì±ì ê³µê³ ìíë²ëì ìížë¥Œ ì¬ì©í ê²ì. // ArithmeticOperator
More informationíìµëª©í ë€ížìí¬ê°ì TCP PORT URL/InetAddress Socket/TCP ììŽì©íë€ížìí¬ 2
Chapter 12 ë€ížìí¬íë¡ê·žëë° New Java Programming with a Workbook íìµëª©í ë€ížìí¬ê°ì TCP PORT URL/InetAddress Socket/TCP ììŽì©íë€ížìí¬ 2 Network ê°ì ë€ížìí¬ ë°ìŽí°ì ì¡íë¡í ìœìê°ì§ê³ íµì íëì°ê²°ëì¥ì¹ë€ììŽì¹ ë€ížìí¬ë§ 3 TCP TCP (Transmission Control Protocol)
More informationMicrosoft PowerPoint ìë°-AWT컎í¬ëíž(Ch8).pptx
5. ë°°ì¹êŽëŠ¬ì 1 AWT 컎í¬ëíž 1. AWT íë¡ê·žëšê³ŒìŽë²€íž 2. Component íŽëì€ 3. ë©ëŽ 4. 컚í ìŽëì컚ížë¡€ AWT AWT: Abstract t Window Toolkit GUI 륌ë§ë€êž°ìí API ìëì°íë¡ê·žëë°ììííŽëì€ìë구륌í¬íš Graphical User Interface ê·žëíœìì륌íµíŽíë¡ê·žëšê³Œëííëë°©ì ê·žëíœìì륌 GUI 컎í¬ëížëŒíš
More information