ๆญฏNetworkKawuiBawuiBo.PDF

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "ๆญฏNetworkKawuiBawuiBo.PDF"

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

12-file.key

12-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

Microsoft PowerPoint - 04-UDP Programming.ppt

Microsoft 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 information

Microsoft PowerPoint - 03-TCP Programming.ppt

Microsoft PowerPoint - 03-TCP Programming.ppt Chapter 3. - Socket in Java - ๋ชฉ์ฐจ ์†Œ์ผ“์†Œ๊ฐœ ์ž๋ฐ”์—์„œ์˜ ํ”„๋กœ๊ทธ๋žจ์ž‘์„ฑ๋ฐฉ๋ฒ• ์ฃผ์š”ํด๋ž˜์Šค์™€๋ฉ”์†Œ๋“œ HTTP ํ”„๋กœํ† ์ฝœ์„์ด์šฉํ•œ์˜ˆ์ œ ์—์ฝ”ํ”„๋กœ๊ทธ๋žจ ์—์ฝ”ํ”„๋กœ๊ทธ๋žจ - EchoServer ์—์ฝ”ํ”„๋กœ๊ทธ๋žจ - EchoClient Q/A 1 1 ์†Œ์ผ“์†Œ๊ฐœ IP,, and Socket ํฌํŠธ (): ์ „์†ก๊ณ„์ธต์—์„œํ†ต์‹ ์„์ˆ˜ํ–‰ํ•˜๋Š”์‘์šฉํ”„๋กœ๊ทธ๋žจ์„์ฐพ๊ธฐ์œ„ํ•œ์ฃผ์†Œ ์†Œ์ผ“ (Socket):

More information

10แ„Œแ…กแ†ผ.key

10แ„Œแ…กแ†ผ.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 information

๋น„๊ธด์ฟก-์ž๋ฐ” 00์•ž๋ถ€์†

๋น„๊ธด์ฟก-์ž๋ฐ” 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

JMF2_์‹ฌ๋นˆ๊ตฌ.PDF

JMF2_์‹ฌ๋นˆ๊ตฌ.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

Microsoft PowerPoint - ร€รšยนร™08ร€รฅ-1.ppt

Microsoft PowerPoint - ร€รšยนร™08ร€รฅ-1.ppt AWT ์ปดํฌ๋„ŒํŠธ (1) 1. AWT ํŒจํ‚ค์ง€ 2. AWT ํ”„๋กœ๊ทธ๋žจ๊ณผ์ด๋ฒคํŠธ 3. Component ํด๋ž˜์Šค 4. ์ปดํฌ๋„ŒํŠธ์ƒ‰์น ํ•˜๊ธฐ AWT GUI ๋ฅผ๋งŒ๋“ค๊ธฐ์œ„ํ•œ API ์œˆ๋„์šฐํ”„๋กœ๊ทธ๋ž˜๋ฐ์„์œ„ํ•œํด๋ž˜์Šค์™€๋„๊ตฌ๋ฅผํฌํ•จ Graphical User Interface ๊ทธ๋ž˜ํ”ฝ์š”์†Œ๋ฅผํ†ตํ•ดํ”„๋กœ๊ทธ๋žจ๊ณผ๋Œ€ํ™”ํ•˜๋Š”๋ฐฉ์‹ ๊ทธ๋ž˜ํ”ฝ์š”์†Œ๋ฅผ GUI ์ปดํฌ๋„ŒํŠธ๋ผํ•จ ์œˆ๋„์šฐํ”„๋กœ๊ทธ๋žจ๋งŒ๋“ค๊ธฐ ๊ฐ„๋‹จํ•œ AWT ํ”„๋กœ๊ทธ๋žจ import

More information

์˜ค๋ฒ„๋ผ์ด๋”ฉ (Overriding)

์˜ค๋ฒ„๋ผ์ด๋”ฉ (Overriding) WindowEvent WindowEvent ์œˆ๋„์šฐ๊ฐ€์—ด๋ฆฌ๊ฑฐ๋‚˜ (opened) ๋‹ซํž๋•Œ (closed) ํ™œ์„ฑํ™”๋˜๊ฑฐ๋‚˜ (activated) ๋น„ํ™œ์„ฑํ™”๋ ๋•Œ (deactivated) ์ตœ์†Œํ™”๋˜๊ฑฐ๋‚˜ (iconified) ๋ณต๊ท€๋ ๋•Œ (deiconified) ์œˆ๋„์šฐ๋‹ซํž˜๋ฒ„ํŠผ์„๋ˆ„๋ฅผ๋•Œ (closing) WindowEvent ์ˆ˜์‹ ์ž abstract class WindowListener

More information

5แ„Œแ…กแ†ผ.key

5แ„Œแ…กแ†ผ.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 information

(Microsoft PowerPoint - LZVNQBAJWGTC.ppt [\310\243\310\257 \270\360\265\345])

(Microsoft PowerPoint - LZVNQBAJWGTC.ppt [\310\243\310\257 \270\360\265\345]) GUI ์ธํ„ฐํŽ˜์ด์Šค์˜์ด๋ฒคํŠธ ํ•™์Šต๋ชฉํ‘œ ์œˆ๋„์šฐํ™˜๊ฒฝ์—์„œ์ž‘์„ฑ๋œ GUI ์ธํ„ฐํŽ˜์ด์Šค์˜์ด๋ฒคํŠธ๊ฐœ๋…์„์ดํ•ดํ•œ๋‹ค. ๋‹ค์–‘ํ•œ์ปดํฌ๋„ŒํŠธ์—๋Œ€ํ•œ์ด๋ฒคํŠธ๋ฅผ์ฒ˜๋ฆฌํ•œ๋‹ค ์ด๋ฒคํŠธ๋ž€? ์ž๋ฐ”์ด๋ฒคํŠธ๋ž€ ์‚ฌ์šฉ์ž๊ฐ€ํ‚ค๋ณด๋“œ, ๋งˆ์šฐ์Šค๋“ฑ์˜์žฅ์น˜๋กœ๋ถ€ํ„ฐ AWT ์ปดํฌ๋„ŒํŠธ์—๋ฐœ์ƒ์‹œํ‚ค๋Š”๋ชจ๋“ ์‚ฌ๊ฑด์„์˜๋ฏธ ์ด๋ฒคํŠธ์ฃผ๋„ํ˜•ํ”„๋กœ๊ทธ๋žจ์€์‚ฌ์šฉ์ž๋กœ๋ถ€ํ„ฐ๋ฐœ์ƒ๋œ์ด๋ฒคํŠธ๋ฅผ์ฒ˜๋ฆฌํ•˜์—ฌ์‚ฌ์šฉ์ž์™€์ƒํ˜ธ์ž‘์šฉ์„๊ฐ€๋Šฅํ•˜๊ฒŒํ•จ ์ž๋ฐ”์ด๋ฒคํŠธ๋ชจ๋ธ ์ปดํ“จํ„ฐ ํ‚ค๋ณด๋“œ ์šด์˜์ฒด์ œ ๋งˆ์šฐ์Šค ์ด๋ฒคํŠธ๊ฐ์ฒด์ž๋ฐ”๊ฐ€์ƒ๋จธ์‹ ์ด๋ฒคํŠธ์†Œ์Šค๊ฐ์ฒด์ด๋ฒคํŠธ๋ฆฌ์Šค๋„ˆ๊ฐ์ฒด์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

More information

9แ„Œแ…กแ†ผ.key

9แ„Œแ…กแ†ผ.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 information

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770> i ii iii iv v vi 1 2 3 4 ๊ฐ€์ƒ๋Œ€ํ•™ ์‹œ์Šคํ…œ์˜ ๊ตญ๋‚ด์™ธ ํ˜„ํ™ฉ ์กฐ์‚ฌ ๊ฐ€์ƒ๋Œ€ํ•™ ํ”Œ๋žซํผ ๊ฐœ๋ฐœ ์ด์ƒ์ ์ธ ๊ฐ€์ƒ๋Œ€ํ•™์‹œ์Šคํ…œ์˜ ๋ฏธ๋ž˜์ƒ ์ œ์•ˆ 5 ์›น-๊ธฐ๋ฐ˜ ๊ฐ€์ƒ๋Œ€ํ•™ ์‹œ์Šคํ…œ ์ „ํ†ต์ ์ธ ๊ต์ˆ˜ ๋ฐฉ๋ฒ• ์‹œ๊ฐ„/๊ณต๊ฐ„ ์ œ์•ฝ์„ ๊ทน๋ณตํ•œ ํ•™์Šต๋™๊ธฐ ๋ถ€์—ฌ ๊ต์ˆ˜์˜ ์ผ๋ฐฉ์ ์ธ ๋‚ด์šฉ์ „๋‹ฌ ๊ต์ˆ˜์™€ ํ•™์ƒ๊ฐ„์˜ ์ƒํ˜ธ์ž‘์šฉ ๋™๋ฃŒ ํ•™์ƒ๋“ค ๊ฐ„์˜ ์ƒํ˜ธ์ž‘์šฉ ๊ฐ€์ƒ๋Œ€ํ•™ ์šด์˜ ๊ณต์ง€์‚ฌํ•ญ,๊ฐ•์˜๋ก ์ž๋ฃŒ์‹ค, ๋ฉ”๋ชจ ์งˆ์˜์‘๋‹ต,

More information

FileMaker ODBC and JDBC Guide

FileMaker 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 information

แ„‰แ…ตแ†ซแ„…แ…ตแ†ทแ„‘แ…ณแ„…แ…ฉแ„€แ…ณแ„…แ…ขแ„†แ…ฅ_แ„แ…ณแ†ฏแ„…แ…ตแ†ซแ„แ…ฉแ„ƒแ…ณ.key

แ„‰แ…ตแ†ซแ„…แ…ตแ†ทแ„‘แ…ณแ„…แ…ฉแ„€แ…ณแ„…แ…ขแ„†แ…ฅ_แ„แ…ณแ†ฏแ„…แ…ตแ†ซแ„แ…ฉแ„ƒแ…ณ.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 information

JavaGeneralProgramming.PDF

JavaGeneralProgramming.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

์ž๋ฐ” ํ”„๋กœ๊ทธ๋ž˜๋ฐ

์ž๋ฐ” ํ”„๋กœ๊ทธ๋ž˜๋ฐ 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 information

07 แ„Œแ…กแ„‡แ…กแ„‹แ…ด แ„ƒแ…กแ„‹แ…ฃแ†ผแ„’แ…กแ†ซ แ„แ…ณแ†ฏแ„…แ…ขแ„‰แ…ณ.key

07 แ„Œแ…กแ„‡แ…กแ„‹แ…ด แ„ƒแ…กแ„‹แ…ฃแ†ผแ„’แ…กแ†ซ แ„แ…ณแ†ฏแ„…แ…ขแ„‰แ…ณ.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 information

05-class.key

05-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 information

K&R2 Reference Manual ๋ฒˆ์—ญ๋ณธ

K&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

FileMaker ODBC and JDBC Guide

FileMaker 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 information

untitled

untitled - -, (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 information

Java ~ Java program: main() class classยป public static void main(string args[])ยป First.java (main class ) /* The first simple program */ public class

Java ~ 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 information

Microsoft PowerPoint - 14์ฃผ์ฐจ ๊ฐ•์˜์ž๋ฃŒ

Microsoft PowerPoint - 14์ฃผ์ฐจ ๊ฐ•์˜์ž๋ฃŒ Java ๋กœ๋งŒ๋“œ๋Š” Monster ์žก๊ธฐ๊ฒŒ์ž„์˜ˆ์ œ์ดํ•ด 2014. 12. 2 ๊ฒŒ์ž„ํ™”๋ฉด๋ฐ๊ฒŒ์ž„๋ฐฉ๋ฒ• ๊ธฐ์‚ฌ์ดˆ๊ธฐ์œ„์น˜ : (0,0) ์•„์ดํ…œ 10 ๊ฐœ๋žœ๋ค์ƒ์„ฑ ๋ชฌ์Šคํ„ฐ 10 ๋†ˆ๋žœ๋ค์ƒ์„ฑ Frame ํ•˜๋‹จ์—๊ธฐ์‚ฌ์œ„์น˜์™€๊ธฐ์‚ฌํŒŒ์›Œ์ถœ๋ ฅ๋ฐฉํ–ฅํ‚ค๋กœ๊ธฐ์‚ฌ์ด๋™์•„์ดํ…œ๊ณผ๋ชฌ์Šคํ„ฐ๋Š”๊ณ ์ •์ข…๋ฃŒ๋ฒ„ํŠผํด๋ฆญํ•˜๋ฉด์ข…๋ฃŒ Project ๊ตฌ์„ฑ GameMain.java GUI ํ™˜๊ฒฝ์„ค์ •, Main Method ๊ฒŒ์ž„๊ฐ์ฒด๋žจ๋ค์œ„์น˜์—์ƒ์„ฑ Event

More information

11แ„Œแ…กแ†ผ.key

11แ„Œแ…กแ†ผ.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 information

Connection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET

Connection 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 information

public class FlowLayoutPractice extends JFrame { public FlowLayoutPractice() { super("flowlayout Practice"); this. Container contentpane = getcontentp

public 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 information

๋ชฉ์ฐจ INDEX JSON? - JSON ๊ฐœ์š” - JSONObject - JSONArray ์„œ์šธ์‹œ๊ณต๊ณต๋ฐ์ดํ„ฐ API ์‚ดํŽด๋ณด๊ธฐ - ์š”์ฒญ์ธ์ž์‚ดํŽด๋ณด๊ธฐ - Result Code - ์ถœ๋ ฅ๊ฐ’ HttpClient - HttpHelper ํด๋ž˜์Šค์ž‘์„ฑ - JSONParser ํด๋ž˜์Šค์ž‘์„ฑ ๊ณต๊ณต

๋ชฉ์ฐจ 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 information

Cluster management software

Cluster management software ์ž๋ฐ”ํ”„๋กœ๊ทธ๋ž˜๋ฐ (OCJP ๊ตญ์ œ๊ณต์ธ์ž๊ฒฉ์ทจ๋“์ค‘์‹ฌ ) ์ถฉ๋ถ๋Œ€ํ•™๊ต์ •๋ณดํ†ต์‹ ๊ณตํ•™๋ถ€ ์ตœ๋ฏผ ์ด๋ฒคํŠธ์ฒ˜๋ฆฌ ์ง€๊ธˆ๊นŒ์ง€ GUI ๋ฅผ๊ตฌ์„ฑํ•˜๋Š” Component ์˜์ข…๋ฅ˜์™€์ด Component ๋“ค์„ Container ์œ„์—์ ์ ˆํ•˜๊ฒŒ๋ฐฐ์น˜ํ•˜๊ธฐ์œ„ํ•œ LayoutManager ๋ฅผํ•™์Šตํ•˜์˜€์Œ ์•ž์—์„œ๋งŒ๋“ค์—ˆ๋˜ GUI ํ”„๋กœ๊ทธ๋žจ์€๋ชจ์–‘๋งŒ๊ทธ๋Ÿด๋“ฏํ• ๋ฟ, ์‹ค์ œ Button ์„๋ˆ„๋ฅด๊ฑฐ๋‚˜, Frame ์šฐ์ธก์ƒ๋‹จ์˜ X ํ‘œ์‹œ๋ฅผํด๋ฆญํ•ด๋„์•„๋ฌด๋Ÿฐ๋™์ž‘์„ํ•˜์ง€์•Š์Œ์ด๋ฒคํŠธ์ฒ˜๋ฆฌ๊ฐ€ํฌํ•จ๋˜์–ด์žˆ์ง€์•Š๊ธฐ๋•Œ๋ฌธ

More information

01-OOPConcepts(2).PDF

01-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

๊ฐ•์˜์ž๋ฃŒ

๊ฐ•์˜์ž๋ฃŒ 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 information

11 ํ…œํ”Œ๋ฆฟ์ ์šฉ - Java Program Performance Tuning (๊น€๋ช…ํ˜ธ๊ธฐ์ˆ ์ด์‚ฌ)

11 ํ…œํ”Œ๋ฆฟ์ ์šฉ - 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

ilist.add(new Integer(1))๊ณผ ๊ฐ™์ด ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ilist.add(1)๊ณผ ๊ฐ™์ด ์‚ฌ์šฉํ•œ ๊ฒƒ์€ ์ž๋ฐ” 5.0์— ์ถ”๊ฐ€๋œ ๊ธฐ๋ณธ ์ž๋ฃŒํ˜•๊ณผ ํ•ด๋‹น ๊ฐ์ฒด ์ž๋ฃŒ ํ˜•๊ณผ์˜ ์˜คํ† ๋ฐ•์‹ฑ/์–ธ๋ฐ•์‹ฑ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•œ ๊ฒƒ์œผ๋กœ ์˜คํ† ๋ฐ•์‹ฑ์ด๋ž€ ์ž๋ฐ” ์ปดํŒŒ์ผ๋Ÿฌ๊ฐ€ ๊ฐ์ฒด๋ฅผ ์š”๊ตฌํ•˜๋Š” ๊ณณ์— ๊ธฐ๋ณธ ์ž๋ฃŒํ˜•

ilist.add(new Integer(1))๊ณผ ๊ฐ™์ด ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ilist.add(1)๊ณผ ๊ฐ™์ด ์‚ฌ์šฉํ•œ ๊ฒƒ์€ ์ž๋ฐ” 5.0์— ์ถ”๊ฐ€๋œ ๊ธฐ๋ณธ ์ž๋ฃŒํ˜•๊ณผ ํ•ด๋‹น ๊ฐ์ฒด ์ž๋ฃŒ ํ˜•๊ณผ์˜ ์˜คํ† ๋ฐ•์‹ฑ/์–ธ๋ฐ•์‹ฑ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•œ ๊ฒƒ์œผ๋กœ ์˜คํ† ๋ฐ•์‹ฑ์ด๋ž€ ์ž๋ฐ” ์ปดํŒŒ์ผ๋Ÿฌ๊ฐ€ ๊ฐ์ฒด๋ฅผ ์š”๊ตฌํ•˜๋Š” ๊ณณ์— ๊ธฐ๋ณธ ์ž๋ฃŒํ˜• ๋ฐ”์— ์ œ๋„ค๋ฆญ์Šค(generics)๋ฅผ ๋„์ž…ํ•˜๊ธฐ ์œ„ํ•œ ์—ฐ๊ตฌ๋Š” ์ด๋ฏธ 8๋…„ ์ „์ธ 1996๋…„๋ถ€ํ„ฐ๋ผ๊ณ  ํ•œ๋‹ค. ์‹ค์ œ๋กœ ์ž๋ฐ”์— ์ œ๋„ค๋ฆญ์Šค๋ฅผ ๋„์ž…ํ•˜ ๋Š” ๋ช‡ ๊ฐ€์ง€ ๋ฐฉ์•ˆ๋“ค์ด ๋…ผ๋ฌธ์œผ๋กœ ๋‚˜์˜ค๊ธฐ ์‹œ์ž‘ํ•œ ๊ฒƒ์ด 1998๋…„ ์ดˆ์ž„์„ ๊ฐ ์•ˆํ•˜๋ฉด ๋ฌด๋ ค 8๋…„์ด ์ง€๋‚œ ํ›„์—์•ผ ์ž๋ฐ” 5.0์— ์ „๊ฒฉ ์ฑ„ํƒ๋˜์—ˆ๋‹ค๋Š” ๊ฒƒ์€ ์ด๊ฒƒ์ด ์–ผ๋งˆ๋‚˜ ์–ด๋ ค์šด ์ผ์ด์—ˆ๋‚˜ ํ•˜๋Š” ๊ฒƒ์„ ๋ณด์—ฌ์ค€๋‹ค. ์ž๋ฐ”์˜ ์ŠคํŽ™์„ ๊ฒฐ์ •ํ•˜๋Š” ํ‘œ์ค€ํ™” ์ ˆ์ฐจ์ธ

More information

Microsoft PowerPoint - ร€รšยนร™08ร€รฅ-2.ppt

Microsoft PowerPoint - ร€รšยนร™08ร€รฅ-2.ppt AWT ์ปดํฌ๋„ŒํŠธ (2) 1. ๋ฉ”๋‰ด 2. ์ปจํ…Œ์ด๋„ˆ์™€์ปจํŠธ๋กค 3. ๋ฐฐ์น˜๊ด€๋ฆฌ์ž ๋ฉ”๋‰ด๊ด€๋ จํด๋ž˜์Šค๊ณ„์ธต๊ตฌ์กฐ Object MenuComponent MenuBar MenuItem Menu CheckboxMenuItem PopupMenu ๋ฉ”๋‰ด ํ’€๋‹ค์šด๋ฉ”๋‰ด ์ œ๋ชฉํ‘œ์‹œ์ค„๋ฐ‘์˜๋ฉ”๋‰ด๋ฐ”๋ฅผ๊ฐ€์ง ๋ฉ”๋‰ด๋งŒ๋“ค๊ธฐ๊ณผ์ • MenuBar ๊ฐ์ฒด์ƒ์„ฑ MenuBar ์—์ถ”๊ฐ€ํ•  Menu ๊ฐ์ฒด๋ฅผ์ƒ์„ฑ Menu ์—์ถ”๊ฐ€ํ• ๋˜๋‹ค๋ฅธ์„œ๋ธŒ

More information

์›น์—ฐ๋™ } ์›น (Web) ํ™˜๊ฒฝ์—์„œ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์‹œ์Šคํ…œ์„์—ฐ๋™ํ•˜๋Š”๋ฐฉ๋ฒ•์€๋‹ค์Œ๊ณผ๊ฐ™๋‹ค } Server Client ๊ตฌ์กฐ์˜ํ†ต์‹  (2-Tier) } Server Middleware Client ๊ตฌ์กฐ์˜ํ†ต์‹  (3-Tier) 2

์›น์—ฐ๋™ } ์›น (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 information

OPCTalk for Hitachi Ethernet 1 2. Path. DCOMwindow NT/2000 network server. Winsock update win95. . . 3 Excel CSV. Update Background Thread Client Command Queue Size Client Dynamic Scan Block Block

More information

Microsoft PowerPoint - 06-Chapter09-Event.ppt

Microsoft PowerPoint - 06-Chapter09-Event.ppt AWT ์ด๋ฒคํŠธ์ฒ˜๋ฆฌํ•˜๊ธฐ 1. ์ด๋ฒคํŠธ์ฒ˜๋ฆฌ๋ฐฉ์‹ 2. ์ด๋ฒคํŠธํด๋ž˜์Šค์™€๋ฆฌ์Šค๋„ˆ 3. ์ด๋ฒคํŠธ์–ด๋Œ‘ํ„ฐ 4. ์ด๋ฒคํŠธ์˜์ข…๋ฅ˜ ์ด๋ฒคํŠธ (Event) ์ด๋ฒคํŠธ ์‚ฌ์šฉ์ž๊ฐ€ UI ์ปดํฌ๋„ŒํŠธ์—๋Œ€ํ•ด์ทจํ•˜๋Š”ํ–‰์œ„๋กœ์ธํ•œ์‚ฌ๊ฑด์ด๋ฒคํŠธ๊ธฐ๋ฐ˜ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋ฌดํ•œ๋ฃจํ”„๋ฅผ๋Œ๋ฉด์„œ์‚ฌ์šฉ์ž์˜ํ–‰์œ„๋กœ์ธํ•œ์ด๋ฒคํŠธ๋ฅผ์ฒญ์ทจํ•˜์—ฌ์‘๋‹ตํ•˜๋Š”ํ˜•ํƒœ๋กœ์ž‘๋™ํ•˜๋Š”ํ”„๋กœ๊ทธ๋ž˜๋ฐ java.awt.event ์ด๋ฒคํŠธ์ฒ˜๋ฆฌ AWT ์ปดํฌ๋„ŒํŠธ์—์„œ๋ฐœ์ƒํ•˜๋Š”๋‹ค์–‘ํ•œ์ด๋ฒคํŠธ๋ฅผ์ฒ˜๋ฆฌํ•˜๊ธฐ์œ„ํ•œ์ธํ„ฐํŽ˜์ด์Šค์™€ํด๋ž˜์Šค์ œ๊ณต

More information

Java ...

Java ... ์ปดํ“จํ„ฐ์–ธ์–ด 1 Java ์ œ์–ด๋ฌธ ์กฐ์„ฑ์ผ ์กฐ๊ฑด๋ฌธ : if, switch ์–ด๋– ํ•œ์กฐ๊ฑด์„์กฐ์‚ฌํ•˜์—ฌ๊ฐ๊ธฐ๋‹ค๋ฅธ๋ช…๋ น์„์‹คํ–‰ if ๋ฌธ, switch ๋ฌธ if ๋ฌธ if - else ๋ฌธํ˜•์‹ if ๋ฌธํ˜•์‹ if ( ์กฐ๊ฑด์‹ ) { ๋ช…๋ น๋ฌธ 1; ๋ช…๋ น๋ฌธ 2;... if ( ์กฐ๊ฑด์‹ ) { ๋ช…๋ น๋ฌธ 1; ๋ช…๋ น๋ฌธ 2;... else { ๋ช…๋ น๋ฌธ a; ๋ช…๋ น๋ฌธ b;... ์˜ˆ์ œ 1 ์ •์ˆ˜๋ฅผ์ž…๋ ฅ๋ฐ›์•„์ง์ˆ˜์™€ํ™€์ˆ˜๋ฅผํŒ๋ณ„ํ•˜๋Š”ํ”„๋กœ๊ทธ๋žจ์„์ž‘์„ฑํ•˜์‹œ์˜ค.

More information

ร€ยฉยตยตยณร—ร†ยฎยฟรทร‡รยทรŽยฑร—ยทยกยนร–4ร€รฅ_รƒร–รยพ

ร€ยฉยตยตยณร—ร†ยฎยฟรทร‡รยทรŽยฑร—ยทยกยนร–4ร€รฅ_รƒร–รยพ P a 02 r t Chapter 4 TCP Chapter 5 Chapter 6 UDP Chapter 7 Chapter 8 GUI C h a p t e r 04 TCP 1 3 1 2 3 TCP TCP TCP [ 4 2] listen connect send accept recv send recv [ 4 1] PC Internet Explorer HTTP HTTP

More information

์Šฌ๋ผ์ด๋“œ 1

์Šฌ๋ผ์ด๋“œ 1 UNIT 16 ์˜ˆ์™ธ์ฒ˜๋ฆฌ ๋กœ๋ด‡ SW ๊ต์œก์› 3 ๊ธฐ ์ตœ์ƒํ›ˆ ํ•™์Šต๋ชฉํ‘œ 2 ์˜ˆ์™ธ์ฒ˜๋ฆฌ๊ตฌ๋ฌธ try-catch-finally ๋ฌธ์„์‚ฌ์šฉํ•›์ˆ˜์žˆ๋‹ค. ํ”„๋กœ๊ทธ๋žจ์˜ค๋ฅ˜ 3 ํ”„๋กœ๊ทธ๋žจ์˜ค๋ฅ˜์˜์ข…๋ฅ˜ ์ปดํŒŒ์ผ์—๋Ÿฌ (compile-time error) : ์ปดํŒŒ์ผ์‹คํ–‰์‹œ๋ฐœ์ƒ ๋Ÿฎํƒ€์ž„์—๋Ÿฌ (runtime error) : ํ”„๋กœ๊ทธ๋žจ์‹คํ–‰์‹œ๋ฐœ์ƒ ์—๋Ÿฌ (error) ํ”„๋กœ๊ทธ๋žจ์ฝ”๋“œ์—์˜ํ•ด์„œํ•ด๊ฒฐ๋ ์ˆ˜์—†๋Š”์‹ฌ๊ฐํ•š์˜ค๋ฅ˜ ex)

More information

ํ•™์Šต๋ชฉํ‘œ ๋„คํŠธ์›Œํฌ๊ฐœ์š” TCP PORT URL/InetAddress Socket/TCP ์„์ด์šฉํ•œ๋„คํŠธ์›Œํฌ 2

ํ•™์Šต๋ชฉํ‘œ ๋„คํŠธ์›Œํฌ๊ฐœ์š” 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 information

gnu-lee-oop-kor-lec06-3-chap7

gnu-lee-oop-kor-lec06-3-chap7 ์–ด์„œ์™€ Java ๋Š”์ฒ˜์Œ์ด์ง€! ์ œ 7 ์žฅ์ƒ์† Super ํ‚ค์›Œ๋“œ ์ƒ์†๊ณผ์ƒ์„ฑ์ž ์ƒ์†๊ณผ๋‹คํ˜•์„ฑ ์„œ๋ธŒํด๋ž˜์Šค์˜๊ฐ์ฒด๊ฐ€์ƒ์„ฑ๋ ๋•Œ, ์„œ๋ธŒํด๋ž˜์Šค์˜์ƒ์„ฑ์ž๋งŒํ˜ธ์ถœ๋ ๊นŒ? ์•„๋‹ˆ๋ฉด์ˆ˜ํผํด๋ž˜์Šค์˜์ƒ์„ฑ์ž๋„ํ˜ธ์ถœ๋˜๋Š”๊ฐ€? class Base{ public Base(String msg) { System.out.println("Base() ์ƒ์„ฑ์ž "); ; class Derived extends Base

More information

์‰ฝ๊ฒŒ ํ’€์–ด์“ด C ํ”„๋กœ๊ทธ๋ž˜๋ฐ

์‰ฝ๊ฒŒ ํ’€์–ด์“ด C ํ”„๋กœ๊ทธ๋ž˜๋ฐ Power Java ์ œ 23 ์žฅ์Šค๋ ˆ๋“œ ์ด๋ฒˆ์žฅ์—์„œํ•™์Šตํ• ๋‚ด์šฉ ์Šค๋ ˆ๋“œ์˜๊ฐœ์š” ์Šค๋ ˆ๋“œ์˜์ƒ์„ฑ๊ณผ์‹คํ–‰ ์Šค๋ ˆ๋“œ์ƒํƒœ ์Šค๋ ˆ๋“œ์˜์Šค์ผ€์ค„๋ง ์Šค๋ ˆ๋“œ๊ฐ„์˜์กฐ์ • ์Šค๋ ˆ๋“œ๋Š”๋™์‹œ์—์—ฌ๋Ÿฌ๊ฐœ์˜ํ”„๋กœ๊ทธ๋žจ์„์‹คํ–‰ํ•˜๋Š”ํšจ๊ณผ๋ฅผ๋ƒ…๋‹ˆ๋‹ค. ๋ฉ€ํ‹ฐํƒœ์Šคํ‚น ๋ฉ€ํ‹ฐํƒœ์Šคํ‚น (muli-tasking) ๋Š”์—ฌ๋Ÿฌ๊ฐœ์˜์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„๋™์‹œ์—์‹คํ–‰ํ•˜์—ฌ์„œ์ปดํ“จํ„ฐ์‹œ์Šคํ…œ์˜์„ฑ๋Šฅ์„๋†’์ด๊ธฐ์œ„ํ•œ๊ธฐ๋ฒ• ์Šค๋ ˆ๋“œ๋ž€? ๋‹ค์ค‘์Šค๋ ˆ๋”ฉ (multi-threading) ์€ํ•˜๋‚˜์˜ํ”„๋กœ๊ทธ๋žจ์ด๋™์‹œ์—์—ฌ๋Ÿฌ๊ฐ€์ง€์ž‘์—…์„ํ• ์ˆ˜์žˆ๋„๋กํ•˜๋Š”๊ฒƒ

More information

(8) getpi() ํ•จ์ˆ˜๋Š”์ •์ ํ•จ์ˆ˜์ด๋ฏ€๋กœ main() ์—์„œํ˜ธ์ถœํ• ์ˆ˜์žˆ๋‹ค. (9) class Circle private double radius; static final double PI= ; // PI ์ด๋ฆ„์œผ๋กœ ๋กœ์ดˆ๊ธฐํ™”๋œ์ •์ ์ƒ์ˆ˜ public

(8) getpi() ํ•จ์ˆ˜๋Š”์ •์ ํ•จ์ˆ˜์ด๋ฏ€๋กœ main() ์—์„œํ˜ธ์ถœํ• ์ˆ˜์žˆ๋‹ค. (9) class Circle private double radius; static final double PI= ; // PI ์ด๋ฆ„์œผ๋กœ ๋กœ์ดˆ๊ธฐํ™”๋œ์ •์ ์ƒ์ˆ˜ public Chapter 9 Lab ๋ฌธ์ œ์ •๋‹ต 1. public class Circle private double radius; static final double PI=3.141592; // PI ์ด๋ฆ„์œผ๋กœ 3.141592 ๋กœ์ดˆ๊ธฐํ™”๋œ์ •์ ์ƒ์ˆ˜ (1) public Circle(double r) radius = r; (2) public double getradius() return

More information

10X56_NWG_KOR.indd

10X56_NWG_KOR.indd ๋””์ง€ํ„ธ ํ”„๋กœ์ ํ„ฐ X56 ๋„คํŠธ์›Œํฌ ๊ฐ€์ด๋“œ ์ด ์ œํ’ˆ์„ ๊ตฌ์ž…ํ•ด ์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๋ณธ ์„ค๋ช…์„œ๋Š” ๋„คํŠธ์›Œํฌ ๊ธฐ๋Šฅ ๋งŒ์„ ์„ค๋ช…ํ•˜๊ธฐ ์œ„ํ•œ ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋ณธ ์ œํ’ˆ์„ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์‚ฌ ์šฉํ•˜๋ ค๋ฉด ์ด ์ทจ๊ธ‰์ ˆ๋ช…์ €์™€ ๋ณธ ์ œํ’ˆ์˜ ๋‹ค๋ฅธ ์ทจ๊ธ‰์ ˆ๋ช…์ €๋ฅผ ์ฐธ์กฐํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. ์ค‘์š”ํ•œ ์ฃผ์˜์‚ฌํ•ญ ์ด ์ œํ’ˆ์„ ์‚ฌ์šฉํ•˜๊ธฐ ์ „์— ๋จผ์ € ์ด ์ œํ’ˆ์— ๋Œ€ํ•œ ๋ชจ๋“  ์„ค๋ช…์„œ๋ฅผ ์ž˜ ์ฝ์–ด ๋ณด์‹ญ์‹œ์˜ค. ์ฝ์€ ๋’ค์—๋Š” ๋‚˜์ค‘์— ํ•„์š”ํ•  ๋•Œ

More information

Contents. 1. PMD ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 2. Metrics ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 3. FindBugs ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 4. ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†

Contents. 1. PMD ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 2. Metrics ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 3. FindBugs ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 4. ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† ์ •์ ๋ถ„์„์„œ - ์˜๋‹จ์–ด์ˆ˜์ง‘์™• - Team.# 3 ๊ณผ๋ชฉ๋ช… ์†Œํ”„ํŠธ์›จ์–ด๋ชจ๋ธ๋ง๋ฐ๋ถ„์„ ๋‹ด๋‹น๊ต์ˆ˜ ์œ ์ค€๋ฒ”๊ต์ˆ˜๋‹˜ 201011320 ๊น€์šฉํ˜„ ํŒ€์› 201111360 ์†์ค€์ต 201111347 ๊น€ํƒœํ˜ธ ์ œ์ถœ์ผ์ž 2015-06-09 1 Contents. 1. PMD ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ†ใ† 2. Metrics

More information

class InetAddress3{ public static void main(string[] args) throws Exception{ String url = null ; Scanner reader = new Scanner(System.in); System.out.p

class InetAddress3{ public static void main(string[] args) throws Exception{ String url = null ; Scanner reader = new Scanner(System.in); System.out.p ๋„คํŠธ์›Œํฌํ”„๋กœ๊ทธ๋žจ์ž‘์„ฑ -๋„คํŠธ์›Œํฌ์˜ˆ์ œ๋Š”์ƒˆ๋กœ์šดํ”„๋กœ์ ํŠธ๋ฅผ๋งŒ๋“ ํ›„์—ํŒจํ‚ค์ง€๋ฅด๋งŒ๋“ค์ง€์•Š์€์ƒํƒœ์—์„œ์ž‘์„ฑํ•œ๋‹ค. -ํ”„๋กœ๊ทธ๋žจ์˜์ปดํŒŒ์ผ๊ณผ์‹คํ–‰์€ ๋ช…๋ นํ”„๋กฌํ”„ํŠธ ์—์„œํ•œ๋‹ค. -์ž๋ฐ”ํŒŒ์ผ์˜์ปดํŒŒ์ผ์€ javac ํŒŒ์ผ์ด๋ฆ„.java" ์™€๊ฐ™์ด์‹คํ–‰ํ•œ๋‹ค. -์ปดํŒŒ์ผ๋˜์–ด์ƒ์„ฑ๋œํด๋ž˜์ŠคํŒŒ์ผ์˜์‹คํ–‰์€ java ํŒŒ์ผ์ด๋ฆ„ ์™€๊ฐ™์ด์‹คํ–‰ํ•œ๋‹ค. -์†Œ์ผ“์„์ด์šฉํ•œํ”„๋กœ๊ทธ๋žจ์€ํ•ญ์ƒ ์š”์ฒญ์„๋ฐ›๋Š”์—ญํ•  ์˜ํ”„๋กœ๊ทธ๋žจ๊ณผ ์š”์ฒญ์„๋ณด๋‚ด๋Š”์—ญํ•  ์˜ํ”„๋กœ๊ทธ๋žจ์ด์กด์žฌํ•˜๋ฏ€๋กœ,

More information

* Factory class for query and DML clause creation * tiwe * */ public class JPAQueryFactory implements JPQLQueryFactory private f

* Factory class for query and DML clause creation * tiwe * */ public class JPAQueryFactory implements JPQLQueryFactory private f JPA ์—์„œ QueryDSL ์‚ฌ์šฉํ•˜๊ธฐ์œ„ํ•ด JPAQuery ์ธ์Šคํ„ด์Šค์ƒ์„ฑ๋ฐฉ๋ฒ• http://ojc.asia, http://ojcedu.com 1. JPAQuery ๋ฅผ์ง์ ‘์ƒ์„ฑํ•˜๊ธฐ JPAQuery ์ธ์Šคํ„ด์Šค์ƒ์„ฑํ•˜๊ธฐ QueryDSL์˜ JPAQuery API๋ฅผ์‚ฌ์šฉํ•˜๋ ค๋ฉด JPAQuery ์ธ์Šคํ„ด์Šค๋ฅผ์ƒ์„ฑํ•˜๋ฉด๋œ๋‹ค. // entitymanager๋Š” JPA์˜ EntityManage

More information

o o o 8.2.1. Host Error 8.2.2. Message Error 8.2.3. Recipient Error 8.2.4. Error 8.2.5. Host 8.5.1. Rule 8.5.2. Error 8.5.3. Retry Rule 8.11.1. Intermittently

More information

ํ”„๋กœ๊ทธ๋žจ์„ ํ•™๊ต ๋“ฑ์ง€์—์„œ ์กฐ๊ธˆ์ด๋ผ๋„ ๋ฐฐ์šด ์‚ฌ๋žŒ๋“ค์„ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋…ธํŠธ ์ž…๋‹ˆ๋‹ค. ์ € ์—ญ์‹œ ๊ทธ ์‚ฌ๋žŒ๋“ค ์ค‘ ํ•˜๋‚˜ ์ž…๋‹ˆ๋‹ค. ์ค‘๊ณ ๋“ฑํ•™๊ต ์‹œ์ ˆ ํ•™๊ต ๋„์„œ๊ด€, ์ƒˆ๋กœ ์ƒ๊ธด ์‹œ๋ฆฝ ๋„์„œ๊ด€ ๋“ฑ์„ ๋‹ค๋‹ˆ๋ฉฐ ์ฑ…์„ ๋ณด ๊ณ  ์ •๋ฆฌํ•˜๋ฉฐ ์–ด๋Š์ •๋„ ๋…ํ•™์œผ๋ฅด ๊ณต๋ถ€ํ•˜๊ธด ํ–ˆ์ง€๋งŒ, ์ž์ฃผ ์•ˆํ•˜๋‹ค ๋ณด๋ฉด ๊ธˆ๋ฐฉ ์žŠ์–ด

ํ”„๋กœ๊ทธ๋žจ์„ ํ•™๊ต ๋“ฑ์ง€์—์„œ ์กฐ๊ธˆ์ด๋ผ๋„ ๋ฐฐ์šด ์‚ฌ๋žŒ๋“ค์„ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋…ธํŠธ ์ž…๋‹ˆ๋‹ค. ์ € ์—ญ์‹œ ๊ทธ ์‚ฌ๋žŒ๋“ค ์ค‘ ํ•˜๋‚˜ ์ž…๋‹ˆ๋‹ค. ์ค‘๊ณ ๋“ฑํ•™๊ต ์‹œ์ ˆ ํ•™๊ต ๋„์„œ๊ด€, ์ƒˆ๋กœ ์ƒ๊ธด ์‹œ๋ฆฝ ๋„์„œ๊ด€ ๋“ฑ์„ ๋‹ค๋‹ˆ๋ฉฐ ์ฑ…์„ ๋ณด ๊ณ  ์ •๋ฆฌํ•˜๋ฉฐ ์–ด๋Š์ •๋„ ๋…ํ•™์œผ๋ฅด ๊ณต๋ถ€ํ•˜๊ธด ํ–ˆ์ง€๋งŒ, ์ž์ฃผ ์•ˆํ•˜๋‹ค ๋ณด๋ฉด ๊ธˆ๋ฐฉ ์žŠ์–ด ๊ฐœ๋‚˜๋ฆฌ ์—ฐ๊ตฌ์†Œ C ์–ธ์–ด ๋…ธํŠธ (tyback.egloos.com) ํ”„๋กœ๊ทธ๋žจ์„ ํ•™๊ต ๋“ฑ์ง€์—์„œ ์กฐ๊ธˆ์ด๋ผ๋„ ๋ฐฐ์šด ์‚ฌ๋žŒ๋“ค์„ ์œ„ํ•œ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋…ธํŠธ ์ž…๋‹ˆ๋‹ค. ์ € ์—ญ์‹œ ๊ทธ ์‚ฌ๋žŒ๋“ค ์ค‘ ํ•˜๋‚˜ ์ž…๋‹ˆ๋‹ค. ์ค‘๊ณ ๋“ฑํ•™๊ต ์‹œ์ ˆ ํ•™๊ต ๋„์„œ๊ด€, ์ƒˆ๋กœ ์ƒ๊ธด ์‹œ๋ฆฝ ๋„์„œ๊ด€ ๋“ฑ์„ ๋‹ค๋‹ˆ๋ฉฐ ์ฑ…์„ ๋ณด ๊ณ  ์ •๋ฆฌํ•˜๋ฉฐ ์–ด๋Š์ •๋„ ๋…ํ•™์œผ๋ฅด ๊ณต๋ถ€ํ•˜๊ธด ํ–ˆ์ง€๋งŒ, ์ž์ฃผ ์•ˆํ•˜๋‹ค ๋ณด๋ฉด ๊ธˆ๋ฐฉ ์žŠ์–ด๋จน๊ณ  ํ•˜๋”๋ผ๊ตฌ์š”. ๊ทธ๋ž˜์„œ,

More information

untitled

untitled CAN BUS RS232 Line CAN H/W FIFO RS232 FIFO CAN S/W FIFO TERMINAL Emulator COMMAND Interpreter PROTOCOL Converter CAN2RS232 Converter Block Diagram > +- syntax

More information

Microsoft PowerPoint ์ž๋ฐ”-AWT์ปดํฌ๋„ŒํŠธ(Ch8).pptx

Microsoft 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

5.แ„‰แ…ณแ„แ…ขแ†จ(แ„€แ…กแ†ผแ„‹แ…ดแ„Œแ…กแ„…แ…ญ).key

5.แ„‰แ…ณแ„แ…ขแ†จ(แ„€แ…กแ†ผแ„‹แ…ดแ„Œแ…กแ„…แ…ญ).key CHP 5: https://www.youtube.com/watch?v=ns-r91557ds ? (stack): (LIFO:Last-In First-Out):. D C B C B C B C B (element) C (top) B (bottom) (DT) : n element : create() ::=. is_empty(s) ::=. is_full(s) ::=.

More information

์ œ11์žฅ ์ž๋ฐ” ์ž…์ถœ๋ ฅ

์ œ11์žฅ ์ž๋ฐ” ์ž…์ถœ๋ ฅ ์ œ11 ์žฅ์ž๋ฐ”์ž…์ถœ๋ ฅ Java_surce->src->ch11 I/O Stream gic ์ž๋ฐ”์ž…์ถœ๋ ฅ 2 ์„œ๋ฒ„์™€ํด๋ผ์ด์–ธํŠธ์˜์†Œ์ผ“์ค€๋น„ ์ž๋ฐ”์ž…์ถœ๋ ฅ 3 11.1.1 ์ŠคํŠธ๋ฆผ๊ฐœ๋… ์ŠคํŠธ๋ฆผ ์ˆœ์„œ๊ฐ€์žˆ๊ณ , ๊ธธ์ด๊ฐ€์ •ํ•ด์ ธ์žˆ์ง€์•Š์€๋ฐ์ดํ„ฐํ๋ฆ„์ข…๋ฅ˜ ์ž๋ฐ”์ž…์ถœ๋ ฅ ๋ฐ”์ดํŠธ ( ๋ฐ”์ด๋„ˆ๋ฆฌ, ์ˆซ์ž ) ํ…์ŠคํŠธ ( ๋ฌธ์ž )...InputStream...OutputputStream...Reader...Writer

More information

ๆญฏ2000-09-Final.PDF

ๆญฏ2000-09-Final.PDF Design Pattern - API JSTORM http://www.jstorm.pe.kr -1- java API 2000-08-14 Public 2000-08-16 Draft (dbin@handysoft.co.kr), (pam@emotion.co.kr) HISTORY (csecau@orgio.net) 2001/2/15 9 10 jstorm

More information

์ธ๋ฌธ์‚ฌํšŒ๊ณผํ•™๊ธฐ์ˆ ์œตํ•ฉํ•™ํšŒ

์ธ๋ฌธ์‚ฌํšŒ๊ณผํ•™๊ธฐ์ˆ ์œตํ•ฉํ•™ํšŒ Vol.5, No.5, October (2015), pp.471-479 http://dx.doi.org/10.14257/ajmahs.2015.10.50 ์Šค๋งˆํŠธ์˜จ์‹ค์„ ์œ„ํ•œ ๊ฐ€์ƒ ์™ธ๋ถ€๊ธฐ์ƒ์ธก์ •์‹œ์Šคํ…œ ๊ฐœ๋ฐœ ํ•œ์ƒˆ๋ก  1), ์ด์žฌ์ˆ˜ 2), ํ™์˜๊ธฐ 3), ๊น€๊ตญํ™˜ 4), ๊น€์„ฑ๊ธฐ 5), ๊น€์ƒ์ฒ  6) Development of Virtual Ambient Weather Measurement

More information

<4D F736F F F696E74202D20C1A63230C0E520BDBAC0AE20C4C4C6F7B3CDC6AE203128B0ADC0C729205BC8A3C8AF20B8F0B5E55D>

<4D F736F F F696E74202D20C1A63230C0E520BDBAC0AE20C4C4C6F7B3CDC6AE203128B0ADC0C729205BC8A3C8AF20B8F0B5E55D> Power Java ์ œ 20 ์žฅ์Šค์œ™์ปดํฌ๋„ŒํŠธ 1 ์ด๋ฒˆ์žฅ์—์„œํ•™์Šตํ• ๋‚ด์šฉ ํ…์ŠคํŠธ์ปดํฌ๋„ŒํŠธ ํ…์ŠคํŠธํ•„๋“œ ํ…์ŠคํŠธ์˜์—ญ ์Šคํฌ๋กคํŽ˜์ธ ์ฒดํฌ๋ฐ•์Šค ๋ผ๋””์˜ค๋ฒ„ํŠผ ์Šค์œ™์—์„œ์ œ๊ณตํ•˜๋Š”๊ธฐ์ดˆ์ ์ธ์ปดํฌ๋„ŒํŠธ๋“ค์„์‚ดํŽด๋ด…์‹œ๋‹ค. ์Šค์œ™ํ…์ŠคํŠธ์ปดํฌ๋„ŒํŠธ๋“ค ์ข…๋ฅ˜ํ…์ŠคํŠธ์ปดํฌ๋„ŒํŠธ๊ทธ๋ฆผ ํ…์ŠคํŠธํ•„๋“œ JTextField JPasswordField JFormattedTextField ์ผ๋ฐ˜ํ…์ŠคํŠธ์˜์—ญ JTextArea ์Šคํƒ€์ผํ…์ŠคํŠธ์˜์—ญ

More information

๊ต์œก์ž๋ฃŒ

๊ต์œก์ž๋ฃŒ THE SYS4U DODUMENT Java Reflection & Introspection 2012.08.21 ๊น€์ง„์•„์‚ฌ์› 2012 SYS4U I&C All rights reserved. ๋ชฉ์ฐจ I. ๊ฐœ๋… 1. Reflection ์ด๋ž€? 2. Introspection ์ด๋ž€? 3. Reflection ๊ณผ Introspection ์˜์ฐจ์ด์  II. ์‹ค์ œ์‚ฌ์šฉ์˜ˆ 1. Instance์˜์ƒ์„ฑ

More information

TCP.IP.ppt

TCP.IP.ppt TCP/IP TCP/IP TCP/IP TCP/IP TCP/IP Internet Protocol _ IP Address Internet Protocol _ Subnet Mask Internet Protocol _ ARP(Address Resolution Protocol) Internet Protocol _ RARP(Reverse Address Resolution

More information

1 SW 2015. 02 26

1 SW 2015. 02 26 02 1 SW 2015. 02 26 2-1 SW 2015. 02 27 SW 2015. 02 2-1 28 SW 2015. 02 29 2 SW 2015. 02 2-2 30 2-2 SW 2015. 02 31 SW 2015. 02 32 2-3 SW 2015. 02 33 3 SW 2015. 02 2-3 34 2-4 SW 2015. 02 35 4 SW 2015. 02

More information

SW 2015. 02 5-1 89

SW 2015. 02 5-1 89 SW 2015. 02 88 SW 2015. 02 5-1 89 SW 2015. 02 5-2 5-3 90 SW 2015. 02 5-4 91 SW 2015. 02 5-5 5-6 92 5-7 SW 2015. 02 93 SW 2015. 02 5-8 5-1 94 SW 2015. 02 5-9 95 SW 2015. 02 5-10 5-2 96 SW 2015. 02 5-11

More information

์ • ๋‹ต ๊ณผ ํ•ด ์„ค 1 (1) ์กด์ค‘ํ•˜๊ณ  ๋ฐฐ๋ คํ•˜๋Š” ์–ธ์–ด์ƒํ™œ ์ฃผ์š” ์ง€๋ฌธ ํ•œ ๋ฒˆ ๋” ๋ณธ๋ฌธ 10~12์ชฝ 01 2 02 5 03 [์˜ˆ์‹œ ๋‹ต] ์ƒ๋Œ€์—๊ฒŒ ์ƒ์ฒ˜๋ฅผ ์ฃผ๊ณ  ํ•œ ์‚ฌ ๋žŒ์˜ ์‚ถ์„ ํŒŒ๊ดดํ•  ์ˆ˜๋„ ์žˆ์œผ๋ฉฐ, ์‚ฌํšŒ ์ „์ฒด์˜ ๋ถ„์œ„๊ธฐ๋ฅผ ํ•ด์ณ ์—ฌ๋Ÿฌ ๊ฐ€์ง€ ์‚ฌํšŒ ๋ฌธ์ œ๋ฅผ ๋ฐœ์ƒ์‹œํ‚ฌ ์ˆ˜ ์žˆ๋‹ค. 04 5

์ • ๋‹ต ๊ณผ ํ•ด ์„ค 1 (1) ์กด์ค‘ํ•˜๊ณ  ๋ฐฐ๋ คํ•˜๋Š” ์–ธ์–ด์ƒํ™œ ์ฃผ์š” ์ง€๋ฌธ ํ•œ ๋ฒˆ ๋” ๋ณธ๋ฌธ 10~12์ชฝ 01 2 02 5 03 [์˜ˆ์‹œ ๋‹ต] ์ƒ๋Œ€์—๊ฒŒ ์ƒ์ฒ˜๋ฅผ ์ฃผ๊ณ  ํ•œ ์‚ฌ ๋žŒ์˜ ์‚ถ์„ ํŒŒ๊ดดํ•  ์ˆ˜๋„ ์žˆ์œผ๋ฉฐ, ์‚ฌํšŒ ์ „์ฒด์˜ ๋ถ„์œ„๊ธฐ๋ฅผ ํ•ด์ณ ์—ฌ๋Ÿฌ ๊ฐ€์ง€ ์‚ฌํšŒ ๋ฌธ์ œ๋ฅผ ๋ฐœ์ƒ์‹œํ‚ฌ ์ˆ˜ ์žˆ๋‹ค. 04 5 S I N S A G O ์ •๋‹ต๊ณผ ํ•ด์„ค ์ฑ„์›€ 1. ๋งˆ์Œ์„ ๋‚˜๋ˆ„๋Š” ์‚ถ 02 2. ํšจ๊ณผ์ ์ธ ์ž๋ฃŒ, ์ ์ ˆํ•œ ๋‹จ์–ด 11 3. ๋ฌธํ•™์„ ๋ณด๋Š” ๋ˆˆ 19 4. ๋ณด๋‹ค ์‰ฝ๊ฒŒ, ๋ณด๋‹ค ๋ถ„๋ช…ํ•˜๊ฒŒ 29 5. ์ƒ๊ฐ ๋ชจ์œผ๊ธฐ, ๋‹จ์–ด ๋งŒ๋“ค๊ธฐ 38 ์ • ๋‹ต ๊ณผ ํ•ด ์„ค 1 (1) ์กด์ค‘ํ•˜๊ณ  ๋ฐฐ๋ คํ•˜๋Š” ์–ธ์–ด์ƒํ™œ ์ฃผ์š” ์ง€๋ฌธ ํ•œ ๋ฒˆ ๋” ๋ณธ๋ฌธ 10~12์ชฝ 01 2 02 5 03 [์˜ˆ์‹œ ๋‹ต] ์ƒ๋Œ€์—๊ฒŒ ์ƒ์ฒ˜๋ฅผ

More information

No Slide Title

No Slide Title Copyright, 2001 Multimedia Lab., CH 3. COM object (In-process server) Eun-sung Lee twoss@mmlab.net Multimedia Lab. Dept. of Electrical and Computer Eng. University of Seoul Seoul, Korea 0. Contents 1.

More information

class Sale void makelineitem(productspecification* spec, int qty) SalesLineItem* sl = new SalesLineItem(spec, qty); ; 2. ์•„๋ž˜์˜์•กํ‹ฐ๋น„ํ‹ฐ๋‹ค์ด์–ด๊ทธ๋žจ์„๋ณด๊ณ  Java ๋˜๋Š” C ++,

class Sale void makelineitem(productspecification* spec, int qty) SalesLineItem* sl = new SalesLineItem(spec, qty); ; 2. ์•„๋ž˜์˜์•กํ‹ฐ๋น„ํ‹ฐ๋‹ค์ด์–ด๊ทธ๋žจ์„๋ณด๊ณ  Java ๋˜๋Š” C ++, Level 1์€๊ฐ๊ด€์‹์‚ฌ์ง€์„ ๋‹คํ˜•์œผ๋กœ์ถœ์ œ์˜ˆ์ • 1. ๋‹ค์Œ์€ POST(Post of Sales Terminal) ์‹œ์Šคํ…œ์˜ํ•œ์ฝœ๋ ˆ๋ณด๋ ˆ์ด์…˜๋‹ค์ด์–ด๊ทธ๋žจ์ด๋‹ค. POST ๊ฐ์ฒด์˜ enteritem(upc, qty) ์™€ Sale ๊ฐ์ฒด์˜ makellineitem(spec,qty) ๋ฅผ Java ๋˜๋Š” C ++, C # ์–ธ์–ด๋กœ๊ตฌํ˜„ํ•˜์‹œ์˜ค. ๊ฐ๋ฉ”์†Œ๋“œ๊ตฌํ˜„๊ณผ๊ด€๋ จํ•˜์—ฌ๊ฐ๊ฐ์ฒด๋‚ด์—ํ•„์š”ํ•œ์„ ์–ธ์ด์žˆ์œผ๋ฉด์„ ์–ธํ•˜์‹œ์˜ค.

More information

untitled

untitled OZ User Data Store Manual... 6 UDS... 6 JDBC UDS... 12 Connection UDS... 17 Connection UDS... 23 DataAction... 31 DataAction... 31 - DataAction... 46... 68 HttpRequest... 76 ResultSet... 83 OZ User Data

More information

แ„Œแ…ฆ20แ„’แ…ฌ_แ„’แ…ขแ„แ…ตแ†ผแ„‡แ…กแ†ผแ„Œแ…ตแ„‹แ…ฏแ„แ…ณแ„‰แ…ฃแ†ธ_(แ„‹แ…ตแ„Œแ…ขแ„‰แ…ฅแ†จ)

แ„Œแ…ฆ20แ„’แ…ฌ_แ„’แ…ขแ„แ…ตแ†ผแ„‡แ…กแ†ผแ„Œแ…ตแ„‹แ…ฏแ„แ…ณแ„‰แ…ฃแ†ธ_(แ„‹แ…ตแ„Œแ…ขแ„‰แ…ฅแ†จ) IoT DDoS DNS (jaeseog@sherpain.net) (www.sherpain.net) DDoS DNS DDoS / DDoS(Distributed DoS)? B Asia Broadband B Bots connect to a C&C to create an overlay network (botnet) C&C Provider JP Corp. Bye Bye!

More information

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜

PowerPoint ํ”„๋ ˆ์  ํ…Œ์ด์…˜ ๋ช…ํ’ˆ JAVA Essential 1 2 ํ•™์Šต๋ชฉํ‘œ 1. ๋ฉ€ํ‹ฐํƒœ์Šคํ‚น๊ณผ์Šค๋ ˆ๋“œ์˜๊ฐœ๋…์ดํ•ด 2. Thread ํด๋ž˜์Šค๋ฅผ์ƒ์†๋ฐ›์•„์ž๋ฐ”์Šค๋ ˆ๋“œ๋งŒ๋“ค๊ธฐ 3. Runnable ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ๊ตฌํ˜„ํ•˜์—ฌ์ž๋ฐ”์Šค๋ ˆ๋“œ๋งŒ๋“ค๊ธฐ 4. ์Šค๋ ˆ๋“œ์ข…๋ฃŒ์‹œํ‚ค๊ธฐ 5. ์Šค๋ ˆ๋“œ์˜๋™๊ธฐํ™”๊ฐœ๋…๊ณผํ•„์š”์„ฑ์ดํ•ด 6. synchronized๋กœ๊ฐ„๋‹จํ•œ์Šค๋ ˆ๋“œ๋™๊ธฐํ™” 7. wait()-notify() ๋กœ๊ฐ„๋‹จํ•œ์Šค๋ ˆ๋“œ๋™๊ธฐํ™” ๋ฉ€ํ‹ฐํƒœ์Šคํ‚น (multi-tasking)

More information

PCServerMgmt7

PCServerMgmt7 Web Windows NT/2000 Server DP&NM Lab 1 Contents 2 Windows NT Service Provider Management Application Web UI 3 . PC,, Client/Server Network 4 (1),,, PC Mainframe PC Backbone Server TCP/IP DCS PLC Network

More information

์Šฌ๋ผ์ด๋“œ 1

์Šฌ๋ผ์ด๋“œ 1 12 ์žฅ. GUI ํ•™์Šต๋ชฉํ‘œ GUI ์ด๋ฒคํŠธ, ์ด๋ฒคํŠธ๋ฆฌ์Šค๋„ˆ์™€์ด๋ฒคํŠธ์†Œ์Šค๊ทธ๋ฆผ๊ทธ๋ฆฌ๊ธฐ๋‚ด๋ถ€ํด๋ž˜์Šค ์ฐฝ Jframe ์˜๋ชจ์–‘ (Metal L&F) Jframe ์˜๋ชจ์–‘ (Aqua L&F) ์ฐฝ์„๋งŒ๋“œ๋Š”๋ฐฉ๋ฒ• 1. ํ”„๋ ˆ์ž„ (JFrame) ๋งŒ๋“ค๊ธฐ JFrame frame = new JFrame(); 2. ์œ„์ ฏ๋งŒ๋“ค๊ธฐ JButton button = new JButton( click me );

More information

์‰ฝ๊ฒŒ ํ’€์–ด์“ด C ํ”„๋กœ๊ทธ๋ž˜๋ฐ

์‰ฝ๊ฒŒ ํ’€์–ด์“ด C ํ”„๋กœ๊ทธ๋ž˜๋ฐ Power Java ์ œ 11 ์žฅ์ƒ์† ์ด๋ฒˆ์žฅ์—์„œํ•™์Šตํ• ๋‚ด์šฉ ์ƒ์†์ด๋ž€? ์ƒ์†์˜์‚ฌ์šฉ ๋ฉ”์†Œ๋“œ์žฌ์ •์˜ ์ ‘๊ทผ์ง€์ •์ž ์ƒ์†๊ณผ์ƒ์„ฑ์ž Object ํด๋ž˜์Šค ์ข…๋‹จํด๋ž˜์Šค ์ƒ์†์„์ฝ”๋“œ๋ฅผ์žฌ์‚ฌ์šฉํ•˜๊ธฐ์œ„ํ•œ์ค‘์š”ํ•œ๊ธฐ๋ฒ•์ž…๋‹ˆ๋‹ค. ์ƒ์†์ด๋ž€? ์ƒ์†์˜๊ฐœ๋…์€ํ˜„์‹ค์„ธ๊ณ„์—๋„์กด์žฌํ•œ๋‹ค. ์ƒ์†์˜์žฅ์  ์ƒ์†์˜์žฅ์  ์ƒ์†์„ํ†ตํ•˜์—ฌ๊ธฐ์กดํด๋ž˜์Šค์˜ํ•„๋“œ์™€๋ฉ”์†Œ๋“œ๋ฅผ์žฌ์‚ฌ์šฉ ๊ธฐ์กดํด๋ž˜์Šค์˜์ผ๋ถ€๋ณ€๊ฒฝ๋„๊ฐ€๋Šฅ ์ƒ์†์„์ด์šฉํ•˜๊ฒŒ๋˜๋ฉด๋ณต์žกํ•œ GUI ํ”„๋กœ๊ทธ๋žจ์„์ˆœ์‹๊ฐ„์—์ž‘์„ฑ

More information

์‹œ์Šค์ฝ” ๋ฌด์„ ๋žœ ์„ค์น˜์šด์˜ ๋งค๋‰ด์–ผ(AP1200s_v1.1)

์‹œ์Šค์ฝ” ๋ฌด์„ ๋žœ ์„ค์น˜์šด์˜ ๋งค๋‰ด์–ผ(AP1200s_v1.1) [ Version 1.3 ] Access Point,. Access Point IP 10.0.0.1, Subnet Mask 255.255.255.224, DHCP Client. DHCP Server IP IP,, IP 10.0.0.X. (Tip: Auto Sensing Straight, Cross-over.) step 1]. step 2] LAN. step

More information

์ž๋ฐ”์•ผ๋†€์ž - ํ™œ์šฉํŽธ ๋ฐœํ–‰์ผ ์ง€์€์ด ๋ฐœํ–‰์ฒ˜ 2016 ๋…„ 4 ์›” 16 ์ผ ํ—ˆ์ง„๊ฒฝ ํผํ”Œ ์ถœํŒ๋“ฑ๋ก์ œ ํ˜ธ (2012 ๋…„ 09 ์›” 07 ์ผ ) ์ฃผ์†Œ ์„œ์šธ์‹œ์ข…๋กœ๊ตฌ์ข…๋กœ 1 ๊ฐ€ 1 ๋ฒˆ์ง€ ๋Œ€ํ‘œ์ „ํ™” ํ™ˆํŽ˜์ด์ง€ c

์ž๋ฐ”์•ผ๋†€์ž - ํ™œ์šฉํŽธ ๋ฐœํ–‰์ผ ์ง€์€์ด ๋ฐœํ–‰์ฒ˜ 2016 ๋…„ 4 ์›” 16 ์ผ ํ—ˆ์ง„๊ฒฝ ํผํ”Œ ์ถœํŒ๋“ฑ๋ก์ œ ํ˜ธ (2012 ๋…„ 09 ์›” 07 ์ผ ) ์ฃผ์†Œ ์„œ์šธ์‹œ์ข…๋กœ๊ตฌ์ข…๋กœ 1 ๊ฐ€ 1 ๋ฒˆ์ง€ ๋Œ€ํ‘œ์ „ํ™” ํ™ˆํŽ˜์ด์ง€  c ์ž๋ฐ”์•ผ๋†€์ž - ํ™œ์šฉํŽธ ์ž๋ฐ”์•ผ๋†€์ž - ํ™œ์šฉํŽธ ๋ฐœํ–‰์ผ ์ง€์€์ด ๋ฐœํ–‰์ฒ˜ 2016 ๋…„ 4 ์›” 16 ์ผ ํ—ˆ์ง„๊ฒฝ ํผํ”Œ ์ถœํŒ๋“ฑ๋ก์ œ 300-2012-167 ํ˜ธ (2012 ๋…„ 09 ์›” 07 ์ผ ) ์ฃผ์†Œ ์„œ์šธ์‹œ์ข…๋กœ๊ตฌ์ข…๋กœ 1 ๊ฐ€ 1 ๋ฒˆ์ง€ ๋Œ€ํ‘œ์ „ํ™” 1544-1900 ํ™ˆํŽ˜์ด์ง€ www.kyobobook.co.kr c ํ—ˆ์ง„๊ฒฝ 2016 ๋ณธ์ฑ…๋‚ด์šฉ์˜์ „๋ถ€๋˜๋Š”์ผ๋ถ€๋ฅผ์žฌ์‚ฌ์šฉํ•˜๋ ค๋ฉด ๋ฐ˜๋“œ์‹œ์ €์ž‘๊ถŒ์ž์˜๋™์˜๋ฅผ๋ฐ›์œผ์…”์•ผํ•ฉ๋‹ˆ๋‹ค.

More information

TEL: 042-863-8301~3 FAX: 042-863-8304 5 6 6 6 6 7 7 8 8 9 9 10 10 10 10 10 11 12 12 12 13 14 15 14 16 17 17 18 1 8 9 15 1 8 9 15 9. REMOTE 9.1 Remote Mode 1) CH Remote Flow Set 0 2) GMate2000A

More information

๋ชฉ์ฐจ 1. ๊ฐœ์š”... 3 2. USB ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ (FTDI DRIVER)... 4 2-1. FTDI DRIVER ์‹คํ–‰ํŒŒ์ผ... 4 2-2. USB ๋“œ๋ผ์ด๋ฒ„ ํ™•์ธ๋ฐฉ๋ฒ•... 5 3. DEVICE-PROGRAMMER ์„ค์น˜... 7 3-1. DEVICE-PROGRAMMER

๋ชฉ์ฐจ 1. ๊ฐœ์š”... 3 2. USB ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ (FTDI DRIVER)... 4 2-1. FTDI DRIVER ์‹คํ–‰ํŒŒ์ผ... 4 2-2. USB ๋“œ๋ผ์ด๋ฒ„ ํ™•์ธ๋ฐฉ๋ฒ•... 5 3. DEVICE-PROGRAMMER ์„ค์น˜... 7 3-1. DEVICE-PROGRAMMER < Tool s Guide > ๋ชฉ์ฐจ 1. ๊ฐœ์š”... 3 2. USB ๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ (FTDI DRIVER)... 4 2-1. FTDI DRIVER ์‹คํ–‰ํŒŒ์ผ... 4 2-2. USB ๋“œ๋ผ์ด๋ฒ„ ํ™•์ธ๋ฐฉ๋ฒ•... 5 3. DEVICE-PROGRAMMER ์„ค์น˜... 7 3-1. DEVICE-PROGRAMMER ์‹คํ–‰ํŒŒ์ผ... 7 4. DEVICE-PROGRAMMER ์‚ฌ์šฉํ•˜๊ธฐ...

More information

2

2 2013 Devsisters Corp. 2 3 4 5 6 7 8 >>> import boto >>> import time >>> s3 = boto.connect_s3() # Create a new bucket. Buckets must have a globally unique name >>> bucket = s3.create_bucket('kgc-demo')

More information

2009๋…„๋„ ํ•œ๊ตญ๋ฉ€ํ‹ฐ๋ฏธ๋””์–ดํ•™ํšŒ ์ถ˜๊ณ„ํ•™์ˆ ๋ฐœํ‘œ๋Œ€ํšŒ ๋…ผ๋ฌธ์ง‘ 12๊ถŒ1ํ˜ธ 1. ์„œ๋ก  ๊ฒŒ์ž„์„ ๊ฐœ๋ฐœํ•˜๋Š” ๊ณผ์ •์—์„œ ๊ฒŒ์ž„ ์—”์ง„์€ ์ž๋™์ฐจ์˜ ์—”์ง„๊ณผ ๊ฐ™์€ ์—ญํ• ์ด๋‹ค. ์ž๋™์ฐจ์˜ ๊ฐ€์น˜๋ฅผ ํ‰๊ฐ€ํ•˜๋Š” ์š”์†Œ ์ค‘์— ์–ด๋–ค ์—”์ง„์„ ์ ์šฉ ํ–ˆ๋Š”๊ฐ€๋Š” ์ž๋™์ฐจ๋ฅผ ํ‰๊ฐ€ํ•˜๋Š”๋ฐ ์ค‘์š”ํ•˜๋‹ค. ๊ฒŒ์ž„๋„ ๊ฒŒ์ž„ ๊ฐœ๋ฐœ ๊ธฐ์ˆ  ์ค‘ ์—”์ง„

2009๋…„๋„ ํ•œ๊ตญ๋ฉ€ํ‹ฐ๋ฏธ๋””์–ดํ•™ํšŒ ์ถ˜๊ณ„ํ•™์ˆ ๋ฐœํ‘œ๋Œ€ํšŒ ๋…ผ๋ฌธ์ง‘ 12๊ถŒ1ํ˜ธ 1. ์„œ๋ก  ๊ฒŒ์ž„์„ ๊ฐœ๋ฐœํ•˜๋Š” ๊ณผ์ •์—์„œ ๊ฒŒ์ž„ ์—”์ง„์€ ์ž๋™์ฐจ์˜ ์—”์ง„๊ณผ ๊ฐ™์€ ์—ญํ• ์ด๋‹ค. ์ž๋™์ฐจ์˜ ๊ฐ€์น˜๋ฅผ ํ‰๊ฐ€ํ•˜๋Š” ์š”์†Œ ์ค‘์— ์–ด๋–ค ์—”์ง„์„ ์ ์šฉ ํ–ˆ๋Š”๊ฐ€๋Š” ์ž๋™์ฐจ๋ฅผ ํ‰๊ฐ€ํ•˜๋Š”๋ฐ ์ค‘์š”ํ•˜๋‹ค. ๊ฒŒ์ž„๋„ ๊ฒŒ์ž„ ๊ฐœ๋ฐœ ๊ธฐ์ˆ  ์ค‘ ์—”์ง„ ๋ฉ€ํ‹ฐ์Šค๋ ˆ๋“œ ๊ธฐ์ˆ ์„ ์ ์šฉํ•œ ๊ฐ€์ƒ 3D ๊ฒŒ์ž„ ์—”์ง„์—์„œ์˜ ๋ณ‘๋ ฌ ์ฒ˜๋ฆฌ ๊ธฐ๋ฒ• ๊น€๋ฌธ์ˆœ, ๋…ธ์„ฑ๋‚จ, ๋ฐ•์ œํ›ˆ, ๋ฐ•๊ฑด์ˆ˜, ๊น€์€์ฃผ, ๊น€์„ ์ •, ์†ก์ฐฝ๊ทผ ํ•œ๋ฆผ๋Œ€ํ•™๊ต ์ปดํ“จํ„ฐ๊ณตํ•™๊ณผ e-mail : {sunfire99,customizer,irubeta01,20045163,ejkim628,sunkim,cgsong}@hallym.ac.kr Parallel Processing Technique

More information

1. GigE Camera Interface๋ฅผ ์œ„ํ•œ ์ตœ์†Œ PC ์‚ฌ์–‘ CPU : Intel Core 2 Duo, 2.4GHz์ด์ƒ RAM : 2GB ์ด์ƒ LANcard : Intel PRO/1000xT ์ด์ƒ VGA : PCI x 16, VRAM DDR2 RAM 256MB

1. GigE Camera Interface๋ฅผ ์œ„ํ•œ ์ตœ์†Œ PC ์‚ฌ์–‘ CPU : Intel Core 2 Duo, 2.4GHz์ด์ƒ RAM : 2GB ์ด์ƒ LANcard : Intel PRO/1000xT ์ด์ƒ VGA : PCI x 16, VRAM DDR2 RAM 256MB Revision 1.0 Date 11th Nov. 2013 Description Established. Page Page 1 of 9 1. GigE Camera Interface๋ฅผ ์œ„ํ•œ ์ตœ์†Œ PC ์‚ฌ์–‘ CPU : Intel Core 2 Duo, 2.4GHz์ด์ƒ RAM : 2GB ์ด์ƒ LANcard : Intel PRO/1000xT ์ด์ƒ VGA : PCI x

More information

์˜ˆ์ œ 2) Test.java class A intvar= 10; void method() class B extends A intvar= 20; 1"); void method() 2"); void method1() public class Test 3"); args) A

์˜ˆ์ œ 2) Test.java class A intvar= 10; void method() class B extends A intvar= 20; 1); void method() 2); void method1() public class Test 3); args) A ์ œ 10 ์žฅ์ƒ์† ์˜ˆ์ œ 1) ConstructorTest.java class Parent public Parent() super - default"); public Parent(int i) this("hello"); super(int) constructor" + i); public Parent(char c) this(); super(char) constructor

More information

C ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ์ž…๋ฌธ C ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ์ž…๋ฌธ ๊น€๋ช…ํ˜ธ์ € ์ˆญ์‹ค๋Œ€ํ•™๊ต ์ถœํŒ๊ตญ ๋จธ๋ฆฌ๋ง..... C, C++, Java, Fortran, Python, Ruby,.. C. C 1972. 40 C.. C. 1999 C99. C99. C. C. C., kmh ssu.ac.kr.. ,. 2013 12 Contents 1์žฅ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์‹œ์ž‘ 1.1 C 10 1.2 12

More information

Week3

Week3 2015 Week 03 / _ Assignment 1 Flow Assignment 1 Hello Processing 1. Hello,,,, 2. Shape rect() ellipse() 3. Color stroke() fill() color selector background() 4 Hello Processing 4. Interaction setup() draw()

More information

BEef แ„‰แ…กแ„‹แ…ญแ†ผแ„‡แ…ฅแ†ธ.pages

BEef แ„‰แ…กแ„‹แ…ญแ†ผแ„‡แ…ฅแ†ธ.pages 1.... 3 2.... 3 (1)... 3 (2)... 5 3. BeEF... 7 (1) BeEF... 7 (2)... 8 (3) (Google Phishing)... 10 4. ( )... 13 (1)... 14 (2) Social Engineering... 17 (3)... 19 (4)... 21 5.... 22 (1)... 22 (2)... 27 (3)

More information

ยนรฆยผร›ยฑรขยผรบ-pdf-ร„รตยผรถรยค

ยนรฆยผร›ยฑรขยผรบ-pdf-ร„รตยผรถรยค Broadcast Technical Research Contents 9 11 13 29 38 48 62 75 77 79 80 97 119 I 11 12 I I 13 14 I I 15 16 I I 17 18 I I 19 20 I I 21 22 I I 23 24 I I 25 26 I I 27 28 I I 29 30 I I 31 32 I I 33 34

More information

KBS-ยนรฆยผร›ยฑรขยผรบยฟยฌยฑยธ-1ร€รฅ-ยบยฐ

KBS-ยนรฆยผร›ยฑรขยผรบยฟยฌยฑยธ-1ร€รฅ-ยบยฐ Broadcast Technical Research Contents 5 7 12 27 31 33 47 56 62 73 75 79 93 I 7 8 I I 9 10 I I 11 12 I I 13 14 I I 15 16 I I 17 18 I I 19 20 I I 21 22 I I 23 24 I I 25 26 I I 27 28 I I 29 30 I I 33

More information

CTS์‚ฌ๋ณด-2์›”

CTS์‚ฌ๋ณด-2์›” 2 Program 3 ์„ ๋ฐฐ๋‹˜ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค - CTS์€ํ‡ด๋ชฉํšŒ์ž ์ดˆ์ฒญ ์„ฌ๊น€ํ–‰์‚ฌ ์„ฑํ™ฉ๋ฆฌ์— ์€ํ˜œ๋กญ๊ฒŒ ์—ด๋ ค! - ์‚ฌํšŒ์ „๋ฐ˜ ์ด์Šˆ ๊ธฐ๋…๊ต์  ๊ด€์ ์œผ๋กœ ํ•ด์„ํ•˜๊ณ  ํ•ด๋ฒ• ์ œ์‹œ 4 ํ›„์›์ž ์ด์•ผ๊ธฐ - ๋ณต์Œ ์ „ํŒŒ๋ฅผ ํ–ฅํ•œ ํ›„์›์ž์˜ ๋”ฐ๋œปํ•œ ์ด์•ผ๊ธฐ #์ด์•ผ๊ธฐ ํ•˜๋‚˜ #์ด์•ผ๊ธฐ ๋‘˜ # ์ด์•ผ๊ธฐ ์…‹ 5 ๋ณต์Œ๋™๋„ค์ด์•ผ๊ธฐ CTS๋ฏธ๋””์–ด์ตœ๊ณ ์œ„ ๊ณผ์ • 6๊ธฐ ๋ชจ์ง‘ - ๋ฉ€ํ‹ฐ๋ฏธ๋””์–ด ์‹œ๋Œ€, ์Šค๋งˆํŠธ๋ชฉํšŒ๋ฅผ ๋””์ž์ธํ•˜๋‹ค! 6

More information

ยฐรธยฐยณยผร’ร‡รร†ยฎ-8รˆยฃ

ยฐรธยฐยณยผร’ร‡รร†ยฎ-8รˆยฃ 2007. 08 No.8 IT World ์šด์˜์ฒด์ œ ๋ฏธ๋“ค์›จ์–ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์›นํ”„๋กœ๊ทธ๋ž˜๋ฐ๊นŒ์ง€ ํ‘œ์ค€ํ™”๋œ๊ณต๊ฐœSW ์ปดํ“จํŒ…ํ™˜๊ฒฝ์ด์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ๊ธ€๋กœ๋ฒŒํ‘œ์ค€์˜๊ณต๊ฐœSW ํ™˜๊ฒฝ์€ ํ•ต์‹ฌ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜๋ฟ๋งŒ์•„๋‹ˆ๋ผ๋‹ค์–‘ํ•œํ”Œ๋žซํผ์—์„œ๋„ํ™œ์šฉ๋ฉ๋‹ˆ๋‹ค. 2 2007. 08No.8 Contents Special Editorial 04 Best Practice 08 12 16 20 24 26 Insight 32

More information

๋ชฉ์ฐจ BUG offline replicator ์—์„œ์œ ํšจํ•˜์ง€์•Š์€๋กœ๊ทธ๋ฅผ์ฝ์„๊ฒฝ์šฐ๋น„์ •์ƒ์ข…๋ฃŒํ• ์ˆ˜์žˆ๋‹ค... 3 BUG ๊ฐ partition ์ด์„œ๋กœ๋‹ค๋ฅธ tablespace ๋ฅผ๊ฐ€์ง€๊ณ , column type ์ด CLOB ์ด๋ฉฐ, ํ•ด๋‹น table ์„ truncate

๋ชฉ์ฐจ BUG offline replicator ์—์„œ์œ ํšจํ•˜์ง€์•Š์€๋กœ๊ทธ๋ฅผ์ฝ์„๊ฒฝ์šฐ๋น„์ •์ƒ์ข…๋ฃŒํ• ์ˆ˜์žˆ๋‹ค... 3 BUG ๊ฐ partition ์ด์„œ๋กœ๋‹ค๋ฅธ tablespace ๋ฅผ๊ฐ€์ง€๊ณ , column type ์ด CLOB ์ด๋ฉฐ, ํ•ด๋‹น table ์„ truncate ALTIBASE HDB 6.1.1.5.6 Patch Notes ๋ชฉ์ฐจ BUG-39240 offline replicator ์—์„œ์œ ํšจํ•˜์ง€์•Š์€๋กœ๊ทธ๋ฅผ์ฝ์„๊ฒฝ์šฐ๋น„์ •์ƒ์ข…๋ฃŒํ• ์ˆ˜์žˆ๋‹ค... 3 BUG-41443 ๊ฐ partition ์ด์„œ๋กœ๋‹ค๋ฅธ tablespace ๋ฅผ๊ฐ€์ง€๊ณ , column type ์ด CLOB ์ด๋ฉฐ, ํ•ด๋‹น table ์„ truncate ํ•œ๋’ค, hash partition

More information

Java Programing Environment

Java Programing Environment Lab Exercise #7 Swing Component ํ”„๋กœ๊ทธ๋ž˜๋ฐ 2007 ๋ด„ํ•™๊ธฐ ๊ณ ๊ธ‰ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๊น€์˜๊ตญ์ถฉ๋‚จ๋Œ€์ „๊ธฐ์ •๋ณดํ†ต์‹ ๊ณตํ•™๋ถ€ ์‹ค์Šต๋‚ด์šฉ ์‹ค์Šต๊ณผ์ œ 7-1 : ์ •๊ทœํ‘œํ˜„์‹์„์ด์šฉํ•œ์‚ฌ์šฉ์ž์ •๋ณด์˜์œ ํšจ์„ฑ๊ฒ€์‚ฌ (ATM ์—์„œ์‚ฌ์šฉ์ž๋“ฑ๋ก์šฉ๋„๋กœ์‚ฌ์šฉ๊ฐ€๋Šฅ ) ์‹ค์Šต๊ณผ์ œ 7-2 : ์ˆซ์ž๋งž์ถ”๊ธฐ๊ฒŒ์ž„ ์‹ค์Šต๊ณผ์ œ 7-3 : ์€ํ–‰๊ด€๋ฆฌํ”„๋กœ๊ทธ๋žจ ๊ณ ๊ธ‰ํ”„๋กœ๊ทธ๋ž˜๋ฐ Swing Component ํ”„๋กœ๊ทธ๋ž˜๋ฐ 2

More information

<4D F736F F F696E74202D20C1A63038C0E520C5ACB7A1BDBABFCD20B0B4C3BC4928B0ADC0C729205BC8A3C8AF20B8F0B5E55D>

<4D F736F F F696E74202D20C1A63038C0E520C5ACB7A1BDBABFCD20B0B4C3BC4928B0ADC0C729205BC8A3C8AF20B8F0B5E55D> Power Java ์ œ 8 ์žฅํด๋ž˜์Šค์™€๊ฐ์ฒด I ์ด๋ฒˆ์žฅ์—์„œํ•™์Šตํ• ๋‚ด์šฉ ํด๋ž˜์Šค์™€๊ฐ์ฒด ๊ฐ์ฒด์˜์ผ์ƒ์ง์ ‘ ๋ฉ”์†Œ๋“œํด๋ž˜์Šค๋ฅผ ํ•„๋“œ์ž‘์„ฑํ•ด UML ๋ด…์‹œ๋‹ค. QUIZ 1. ๊ฐ์ฒด๋Š” ์†์„ฑ๊ณผ ๋™์ž‘์„๊ฐ€์ง€๊ณ ์žˆ๋‹ค. 2. ์ž๋™์ฐจ๊ฐ€๊ฐ์ฒด๋ผ๋ฉดํด๋ž˜์Šค๋Š” ์„ค๊ณ„๋„์ด๋‹ค. ๋จผ์ €์•ž์žฅ์—์„œํ•™์Šตํ•œํด๋ž˜์Šค์™€๊ฐ์ฒด์˜๊ฐœ๋…์„๋ณต์Šตํ•ด๋ด…์‹œ๋‹ค. ํด๋ž˜์Šค์˜๊ตฌ์„ฑ ํด๋ž˜์Šค (class) ๋Š”๊ฐ์ฒด์˜์„ค๊ณ„๋„๋ผํ• ์ˆ˜์žˆ๋‹ค. ํด๋ž˜์Šค๋Š”ํ•„๋“œ์™€๋ฉ”์†Œ๋“œ๋กœ์ด๋ฃจ์–ด์ง„๋‹ค.

More information

๊ณต๋ถ€ ์ข€ ํ•˜๊ฒŒ ํ•ด ์ฃผ์ง€ ๋ญํ•˜๋Ÿฌ ๊ณต๋ถ€ํ•ด์š”. ์‚ด๊ธฐ๋„ ๋ฐ”๋น ์š”. ๋†€๊ธฐ๋„ ๋ฐ”์œ๋ฐ ๊ณต๋ถ€ํ•˜๋˜ ์‹œ์ ˆ์ด ๊ฐ€๊ณ , ์‚ด๊ธฐ๋„ ๋ฐ”์œ๋ฐ ๋ฌด์Šจ ๊ณต๋ถ€๋ƒ๊ณ ๋“ค ํ•œ๋‹ค. ๊ณต๋ถ€ํ•˜๋Š” ๊ฒŒ ๋ฌด์Šจ ์œ ๋ณ„๋‚œ ๋†ˆ์˜ ๊ณ ๊ธ‰ ์ทจ๋ฏธ๋กœ ์น˜๋ถ€๋˜ ๋Š” ๋•Œ ์™œ ์‹œ๋Œ€์ฐฉ์˜ค์ ์œผ๋กœ ๊ณต๋ถ€๋ฅผ ํ•˜๋Š” ๊ฑธ๊นŒ? ๊ณต๋ถ€๋Š” ์ข‹์€ ๊ฒƒ๊ณผ ํ•„์š”ํ•œ ๊ฒƒ์„ ๋ˆ„๋ฆฌ๋Š” ๋ฐ”ํƒ•

๊ณต๋ถ€ ์ข€ ํ•˜๊ฒŒ ํ•ด ์ฃผ์ง€ ๋ญํ•˜๋Ÿฌ ๊ณต๋ถ€ํ•ด์š”. ์‚ด๊ธฐ๋„ ๋ฐ”๋น ์š”. ๋†€๊ธฐ๋„ ๋ฐ”์œ๋ฐ ๊ณต๋ถ€ํ•˜๋˜ ์‹œ์ ˆ์ด ๊ฐ€๊ณ , ์‚ด๊ธฐ๋„ ๋ฐ”์œ๋ฐ ๋ฌด์Šจ ๊ณต๋ถ€๋ƒ๊ณ ๋“ค ํ•œ๋‹ค. ๊ณต๋ถ€ํ•˜๋Š” ๊ฒŒ ๋ฌด์Šจ ์œ ๋ณ„๋‚œ ๋†ˆ์˜ ๊ณ ๊ธ‰ ์ทจ๋ฏธ๋กœ ์น˜๋ถ€๋˜ ๋Š” ๋•Œ ์™œ ์‹œ๋Œ€์ฐฉ์˜ค์ ์œผ๋กœ ๊ณต๋ถ€๋ฅผ ํ•˜๋Š” ๊ฑธ๊นŒ? ๊ณต๋ถ€๋Š” ์ข‹์€ ๊ฒƒ๊ณผ ํ•„์š”ํ•œ ๊ฒƒ์„ ๋ˆ„๋ฆฌ๋Š” ๋ฐ”ํƒ• ๋‚˜๋Š” ์™œ ๊ณต๋ถ€ํ•˜๋Š”๊ฐ€ ๋˜ฅํ†ต ๊ฐ™์€ ์„ธ์ƒ, ํ˜ธ๊ตฌ๋กœ ์‚ด์ง€ ์•Š๋Š” ๋ฒ• ์ด๊ฒƒ์ด ๊ณต๋ถ€์˜ ํž˜! ๊ทธ๋Ÿฌ๋‹ˆ ๊ต์‚ฌ๋„ ๊ณต๋ถ€ ์ข€ ํ•˜๊ฒŒ ํ•ด ๋‹ฌ๋ผ ์ž„ํ•œ์ฒ  ์ถฉ๋ถ ์ฒญ์ฃผ ๋งŒ์‚ฐ์ดˆ parpanca@cbe.go.kr ๊ฐœ๋˜ฅ๋ฐญ์— ๊ตด๋Ÿฌ๋„ ์ด์Šน์ด ๋‚ซ๋‹ค๋˜๋ฐ ๋‚œ ์ •๋ง ๊ทธ๋Ÿฐ๊ฐ€? ์ด ์   ์ข€ ์ œ๋Œ€๋กœ(์ƒ๋ฌผํ•™์ ์œผ๋กœ, ์„ฑ์ ์œผ๋กœ, ๊ทธ๋ฆฌ๊ณ  ์‚ฌํšŒ์ ์œผ ๋กœ) ๋จน๊ณ  ์‹ธ๊ณ  ์ž์ž. ๊ทธ๋ฆฌ๊ณ  ํ”ผ ์ข€ ๊ทธ๋งŒ ํ˜๋ฆฌ๊ณ , ๋•€๊ณผ ๋ˆˆ ๋ฌผ ์Ÿ์•„ ๋‚ด๋ฉฐ

More information

<4D6963726F736F667420576F7264202D2033BFF920BECBBEE0BFF9B0A3BAB8B0EDBCAD2E646F6378>

<4D6963726F736F667420576F7264202D2033BFF920BECBBEE0BFF9B0A3BAB8B0EDBCAD2E646F6378> ๋ชฉ์ฐจ Part โ… . 2 ์›”์˜ ์•…์„ฑ์ฝ”๋“œ ํ†ต๊ณ„ 1. ์•…์„ฑ์ฝ”๋“œ ํ†ต๊ณ„... 2 (1) ๊ฐ์—ผ ์•…์„ฑ์ฝ”๋“œ Top 15... 2 (2) ์นดํ…Œ๊ณ ๋ฆฌ๋ณ„ ์•…์„ฑ์ฝ”๋“œ ์œ ํ˜•... 3 (3) ์นดํ…Œ๊ณ ๋ฆฌ๋ณ„ ์•…์„ฑ์ฝ”๋“œ ๋น„์œจ ์ „์›” ๋น„๊ต... 3 (4) ์›”๋ณ„ ํ”ผํ•ด ์‹ ๊ณ  ์ถ”์ด... 4 (5) ์›”๋ณ„ ์•…์„ฑ์ฝ”๋“œ DB ๋“ฑ๋ก ์ถ”์ด... 4 2. ์•…์„ฑ์ฝ”๋“œ ์ด์Šˆ ๋ถ„์„ ์•…์„ฑ์ฝ”๋“œ ์ข…ํ•ฉ ์„ ๋ฌผ์…‹ํŠธ Bredolab Worm...

More information

...... .............hwp

...... .............hwp - 1 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - - 20 - - 21 - - 22 - - 23 - - 24 - - 25 - - 26 - - 27 - - 28 - - 29 - 53)

More information

ๆญฏLecture2.PDF

ๆญฏLecture2.PDF VISUAL C++/MFC Lecture 2? Update Visual C ++/MFC Graphic Library OpenGL? Frame OpenGL 3D Graphic library coding CLecture1View? OpenGL MFC coding Visual C++ Project Settings Link Tap Opengl32lib, Glu32lib,

More information

Microsoft PowerPoint - JavaPrimer.ppt [ํ˜ธํ™˜ ๋ชจ๋“œ]

Microsoft PowerPoint - JavaPrimer.ppt [ํ˜ธํ™˜ ๋ชจ๋“œ] Linux ์šฉ JAVA ์„ค์น˜ 1. http://java.sun.com/javase/downloads/index.jsp ์—์„œ JDK 6u1 ์˜ Download ๋ฅผ ์„ ํƒํ•˜์—ฌํ•ด๋‹นํ”Œ๋žซํผ์˜ JDK 6u1 ๋ฅผ๋‹ค์šด๋ฐ›๋Š”๋‹ค 2. Linux์šฉ RPM๋ฒ„์ „ 1) sh jdk-6u1-linux-i586-rpm.bin 2) rpm Uvh jdk-6u1-linux-i586-rpm 3)

More information

์Šฌ๋ผ์ด๋“œ 1

์Šฌ๋ผ์ด๋“œ 1 ์‚ฌ์šฉ ์ „์— ์‚ฌ์šฉ์ž ์ฃผ์˜ ์‚ฌํ•ญ์„ ๋ฐ˜๋“œ์‹œ ์ฝ๊ณ  ์ •ํ™•ํ•˜๊ฒŒ ์ง€์ผœ์ฃผ์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. ์‚ฌ์šฉ์„ค๋ช…์„œ์˜ ๊ตฌ์„ฑํ’ˆ ํ˜•์ƒ๊ณผ ์ƒ‰์ƒ์€ ์‹ค์ œ์™€ ๋‹ค๋ฅผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์„ค๋ช…์„œ์˜ ๋‚ด์šฉ์€ ์ œํ’ˆ์˜ ์†Œํ”„ํŠธ์›จ์–ด ๋ฒ„์ „์ด๋‚˜ ํ†ต์‹  ์‚ฌ์—…์ž์˜ ์‚ฌ์ •์— ๋”ฐ๋ผ ๋‹ค๋ฅผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ณธ ์‚ฌ์šฉ์„ค๋ช…์„œ๋Š” ์ €์ž‘๊ถŒ๋ฒ•์— ์˜ํ•ด ๋ณดํ˜ธ๋ฅผ ๋ฐ›๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ณธ ์‚ฌ์šฉ์„ค๋ช…์„œ๋Š” ์ฃผ์‹ํšŒ์‚ฌ ๋ธ”๋ฃจ๋ฒ„๋“œ์†Œํ”„ํŠธ์—์„œ ์ œ์ž‘ํ•œ ๊ฒƒ์œผ๋กœ ํŽธ์ง‘ ์˜ค๋ฅ˜, ์ •๋ณด ๋ˆ„๋ฝ

More information