<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1061624867268071391</id><updated>2024-08-30T11:37:18.446-07:00</updated><category term="Java"/><category term="GUI"/><category term="windows"/><category term="Layout"/><category term="data structure"/><category term="CellRenderer"/><category term="JTree"/><category term="API"/><category term="Blogger"/><category term="BorderFactory"/><category term="BorderLayout"/><category term="Button"/><category term="C++"/><category term="CheckBox"/><category term="DLL"/><category term="DefWindowProc()"/><category term="Drag And Drop"/><category term="Egon Schiele"/><category term="File Uploading"/><category term="FlowLayout"/><category term="GetMessage()"/><category term="GetStockObject()"/><category term="GridBagConstraint"/><category term="GridBagLayout"/><category term="GridLayout"/><category term="HashMap"/><category term="JComboBox"/><category term="JFrame"/><category term="JInternalFrame"/><category term="JList"/><category term="JTextComponent"/><category term="Label"/><category term="LoadCursor()"/><category term="LoadIcon()"/><category term="LookAndFeel"/><category term="MSG strcuture"/><category term="MVC model"/><category term="MessageBox()"/><category term="No Layout Manager"/><category term="Queue"/><category term="RadioButton"/><category term="STL"/><category term="ShowWindow()"/><category term="Spinner"/><category term="String"/><category term="StringTokenizer"/><category term="Swing"/><category term="ToolTip"/><category term="TranslateMessage()"/><category term="User defined Cursor"/><category term="Vector"/><category term="WINAPI"/><category term="WNDCLASSEX structure"/><category term="WinMain()"/><category term="WinProc()"/><category term="double linked list"/><category term="event"/><category term="getContentPane"/><category term="owl city"/><category term="visual studio 2010"/><category term="기형도"/><category term="바람의 집"/><category term="소프트맥스 채용 공고"/><title type='text'>우와웅</title><subtitle type='html'>Lev.1</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-4099981495907301761</id><published>2011-03-25T01:59:00.000-07:00</published><updated>2018-11-03T20:15:50.080-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="STL"/><title type='text'>[STL] Insert Iterator Demo</title><content type='html'>&lt;b&gt;Front Insert Iterator &lt;/b&gt;: 앞부분부터 삽입. 새치기하듯이 삽입되어서, 먼저 들어온 원소가 가장 마지막에 위치하게 된다.&lt;br /&gt;
&lt;b&gt;Back Insert Iterator&lt;/b&gt; : First Com First Serv.방식 온 순서대로 차례로 왼쪽에서 오른쪽으로 삽입된 결과를 나타낸다.&lt;br /&gt;
&lt;b&gt;Insert Iterator&lt;/b&gt; : Sequence Container에서는 원하는 index에 접근해서 삽입이 가능하다.&lt;br /&gt;
그러나 Associative Container의 경우 의미를 가지지 못한다. 따라서, 값이 정렬된 상태로&lt;br /&gt;
출력된다.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;iostream&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;list&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;vector&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;set&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #339933;&quot;&gt;#include &amp;lt;iterator&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;using namespace std;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;template&amp;lt;typename Container&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;PrintContainer&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;strTitle,Container&amp;amp; cont&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;pArray&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;9&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;4&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;7&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//Front Insert Iterator&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; list&amp;lt;int&amp;gt; iList;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; copy&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;pArray,pArray&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;+5&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,front_inserter&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;iList&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; PrintContainer&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Front Insert&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,iList&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//Back Insert Iterator&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; vector&amp;lt;int&amp;gt; iVector;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #b1b100;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;i=&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;; i&amp;lt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;5&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;; i++&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; back_inserter&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;iVector&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;= pArray&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; PrintContainer&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Back Insert&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,iVector&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//Insert Iterator&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; set&amp;lt;int&amp;gt; iSet;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; copy&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;pArray,pArray&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;+5&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,inserter&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;iSet,iSet.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #202020;&quot;&gt;begin&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; PrintContainer&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Insert&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;,iSet&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;template&amp;lt;typename Container&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;PrintContainer&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #993333;&quot;&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;strTitle, Container&amp;amp; cont&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;strTitle&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot; : &quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #b1b100;&quot;&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;Container::&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #202020;&quot;&gt;iterator&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;it = cont.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #202020;&quot;&gt;begin&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;it!=cont.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #202020;&quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;++it&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;a href=&quot;http://www.opengroup.org/onlinepubs/009695399/functions/cout.html&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;cout&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #202020;&quot;&gt;width&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;*it;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;endl;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlor_Y62-coD_kvm6kAAlWRBy0pMoz7EOGkBkSnD4zl0-CjZZYqa-eV4BZbhucciLzOPdTD48slywS48V-Uabat-IzNdkCS0U2Kfom9OCeXge7VTScQUUfkTpeKGYdhdjYi_82STPlwAg/s1600/iterator.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;130&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlor_Y62-coD_kvm6kAAlWRBy0pMoz7EOGkBkSnD4zl0-CjZZYqa-eV4BZbhucciLzOPdTD48slywS48V-Uabat-IzNdkCS0U2Kfom9OCeXge7VTScQUUfkTpeKGYdhdjYi_82STPlwAg/s320/iterator.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: , &amp;quot;consolas&amp;quot;; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/4099981495907301761/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/03/stl-insert-iterator-demo.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/4099981495907301761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/4099981495907301761'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/03/stl-insert-iterator-demo.html' title='[STL] Insert Iterator Demo'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlor_Y62-coD_kvm6kAAlWRBy0pMoz7EOGkBkSnD4zl0-CjZZYqa-eV4BZbhucciLzOPdTD48slywS48V-Uabat-IzNdkCS0U2Kfom9OCeXge7VTScQUUfkTpeKGYdhdjYi_82STPlwAg/s72-c/iterator.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-3187813180824742515</id><published>2011-02-28T23:37:00.000-08:00</published><updated>2011-02-28T23:38:47.942-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><category scheme="http://www.blogger.com/atom/ns#" term="WNDCLASSEX structure"/><title type='text'>[Win32 API] WNDCLASSEX Structure</title><content type='html'>Contain window class information. It is used with the RegisterClassEx and GetClassInfoEx functions.&lt;br /&gt;
&lt;br /&gt;
The WNDCLASSEX structure is similar to the WNDCLASS structure. There are two differences. WNDCASSEX include the cbSize member, which specifies the size of the structure, and the hIconSm member, which contains a handle to a small icon associated withe the window class.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;typedef struct tagWNDCLASSEX {
  UINT &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cbSize;
  UINT &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;style;
  WNDPROC &amp;nbsp;&amp;nbsp;lpfnWndProc;
  int &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cbClsExtra;
  int &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cbWndExtra;
  HINSTANCE hInstance;
  HICON &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hIcon;
  HCURSOR &amp;nbsp;&amp;nbsp;hCursor;
  HBRUSH &amp;nbsp;&amp;nbsp;&amp;nbsp;hbrBackground;
  LPCTSTR &amp;nbsp;&amp;nbsp;lpszMenuName;
  LPCTSTR &amp;nbsp;&amp;nbsp;lpszClassName;
  HICON &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hIconSm;
} WNDCLASSEX, *PWNDCLASSEX;&lt;/pre&gt;&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Members&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;cbSize &lt;/b&gt;: The size, in bytes, of this structure. Set this member to sizeof(WNDCLASSEX). Be sure to set this member before calling GetClassinfoEx function.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;style &lt;/b&gt;: The class style(s). This member can be any combination of the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff729176(v=VS.85).aspx&quot;&gt;Class Style.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;lpfnWndProc&lt;/b&gt; : A pointer to the window procedure. You must use the CallWindowProc function to call the window procedure.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;cbClsExtra &lt;/b&gt;: The number of extra bytes to allocate following the window structure. The system initializes the bytes to zero.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;cbWndExtra&lt;/b&gt; : The number of extra bytes to allocate following the window instance. The system initializes the bytes to zero.If an application uses WNDCLASSEX to register a dialog box created by using the CLASS directive in the resource file, it must set this member to DLGWINDOWEXTRA.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;hInstance&lt;/b&gt; : A handle to the instance that contains the window procedure for the class.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;hIcon&lt;/b&gt; : A handle to the class icon. This member must be a handle to an icon resource. If this member is NULL, the system provides a default icon.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;hCursor&lt;/b&gt;: A handle to the class cursor. This member must be a handle to a cursor resource. If this member is NULL, the application must explicitly set the cursor shape whenever the mouse moves into the application&#39;s window.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;hbrBackground &lt;/b&gt;: A handle to the class background brush. This member can be a handle to the physical brush to be used for painting the background, or it can be a color value.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;lpszMenuName&lt;/b&gt; : Pointer to a null-terminated character string that specifies the resource name of the class menu, as the name appear in the resource file. If you use an integer to indetify the menu, use the MAKEINTERSOURCE macro. If this member is NULL, windows belonging to this class have no default menu.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;lpszClassName&lt;/b&gt; : A Pointer to a null-terminated or is an atom. If this parameter is an atom, it must be a class atom created by previous call to the RegisterClass or RegisterClassEx function. The atom must be in the low-order word of lpszClassName; the high-order word must be zero.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;hIconSm&lt;/b&gt; : A handle to a small icon that associated with the window class.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms633577(VS.85).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms633577(VS.85).aspx&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/3187813180824742515/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-wndclassex-structure.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/3187813180824742515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/3187813180824742515'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-wndclassex-structure.html' title='[Win32 API] WNDCLASSEX Structure'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-89141003975373570</id><published>2011-02-28T10:10:00.000-08:00</published><updated>2011-02-28T10:10:49.763-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DefWindowProc()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] DefWindowProc Function</title><content type='html'>Calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed.&lt;u&gt; DefWindowproc is called with the same parameters recieved by the window procedure.&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;LRESULT WINAPI DefWindowProc(
  __in&amp;nbsp;&amp;nbsp;HWND hWnd,
  __in&amp;nbsp;&amp;nbsp;UINT Msg,
  __in&amp;nbsp;&amp;nbsp;WPARAM wParam,
  __in&amp;nbsp;&amp;nbsp;LPARAM lParam
);&lt;/pre&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Same as WindowProc Function.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Return Value&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The return value is the result of the message processing and depends on the message.&lt;br /&gt;
&lt;br /&gt;
Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms633572(VS.85).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms633572(VS.85).aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/89141003975373570/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-defwindowproc-function.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/89141003975373570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/89141003975373570'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-defwindowproc-function.html' title='[Win32 API] DefWindowProc Function'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-7837547369212931865</id><published>2011-02-28T09:57:00.000-08:00</published><updated>2011-02-28T09:57:38.326-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><category scheme="http://www.blogger.com/atom/ns#" term="WinProc()"/><title type='text'>[Win32 API] WindowProc</title><content type='html'>An application-defined function that processes messages sent to a window. the WNDPROC type define a pointer to this callback function.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;LRESULT CALLBACK WindowProc(
  __in&amp;nbsp;&amp;nbsp;HWND hwnd,
  __in&amp;nbsp;&amp;nbsp;UINT uMsg,
  __in&amp;nbsp;&amp;nbsp;WPARAM wParam,
  __in&amp;nbsp;&amp;nbsp;LPARAM lParam
);
&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;hwnd : a handle to the window.&lt;/li&gt;
&lt;li&gt;uMsg : The message&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;For list of the system-provide messages. see &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms644927(v=VS.85).aspx#system_defined&quot;&gt;System-Defined Message.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;wParam : Additional message information. The contents of this parameter depend on the value of th uMsg parameter.&lt;/li&gt;
&lt;li&gt;lParam :&amp;nbsp;Additional message information. The contents of this parameter depend on the value of th uMsg parameter.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Return Value&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The return value is the result of the message processing and depend on the message sent.&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms633573(VS.85).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms633573(VS.85).aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/7837547369212931865/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-windowproc.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7837547369212931865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7837547369212931865'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-windowproc.html' title='[Win32 API] WindowProc'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-5247810101922011684</id><published>2011-02-28T09:31:00.000-08:00</published><updated>2011-02-28T09:31:50.973-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MessageBox()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] MessageBox Function</title><content type='html'>Display a modal dialog box that contain a system icon, a set of buttons, and a brief application-specific message, such as status or error information, The message box returns an integer value that indicates which button the user clicked.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;int WINAPI MessageBox(
  __in_opt  HWND hWnd,
  __in_opt  LPCTSTR lpText,
  __in_opt  LPCTSTR lpCaption,
  __in      UINT uType
);&lt;/pre&gt;&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Parameters&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;hWnd : A handle to the owner window of the message box to be created.If this parameter is NULL, the message box has no owner window.&lt;/li&gt;
&lt;li&gt;lpText : The message to be displayed. If the string consist of more than one line, you can separate the lines using a carriage return and/or linefeed character between each line.&lt;/li&gt;
&lt;li&gt;lpCaption : the dialog box title. If this parameter is NULL , the default title is Error.&lt;/li&gt;
&lt;li&gt;uType: The contents and behavior of the dialog box. This parameter can be a combination of flags from the following group flags.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;너무 많다. Link :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/5247810101922011684/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-messagebox-function.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/5247810101922011684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/5247810101922011684'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-messagebox-function.html' title='[Win32 API] MessageBox Function'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-7166579079271114688</id><published>2011-02-28T09:04:00.000-08:00</published><updated>2011-02-28T09:04:43.929-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MSG strcuture"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] MSG Structure</title><content type='html'>Contain message information from a thread&#39;s message queue.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;typedef struct tagMSG {
  HWND &amp;nbsp;&amp;nbsp;hwnd;
  UINT &amp;nbsp;&amp;nbsp;message;
  WPARAM wParam;
  LPARAM lParam;
  DWORD &amp;nbsp;time;
  POINT &amp;nbsp;pt;
} MSG, *PMSG, *LPMSG;&lt;/pre&gt;&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Members&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;hwnd : A handle to the window whose window procedure receives the message. This member is NULL when the message is a thread message.&lt;/li&gt;
&lt;li&gt;message : The message identifier.Applications can only use the low word; the high word is reserved by system.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/system.windows.forms.message.wparam.aspx&quot;&gt;wParam&lt;/a&gt; : additional information about the message.The exact meaning depends on the value of the message member.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/system.windows.forms.message.lparam(VS.80).aspx&quot;&gt;lParam&lt;/a&gt; :&amp;nbsp;additional information about the message.The exact meaning depends on the value of the message member.&lt;/li&gt;
&lt;li&gt;time : The time at which the message was posted.&lt;/li&gt;
&lt;li&gt;pt : The cursur position,in screen coordinates, when the message was posted.&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/7166579079271114688/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-msg-structure.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7166579079271114688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7166579079271114688'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-msg-structure.html' title='[Win32 API] MSG Structure'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-1457807790522535017</id><published>2011-02-28T08:14:00.000-08:00</published><updated>2011-02-28T10:01:52.173-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="TranslateMessage()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] TranslateMessage()</title><content type='html'>Translate virtual-key messages into character messages. The character messages are posted to the caling thread&#39;s message queue, to be read the next time the thread call the GetMessage or PeekMessage function.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;BOOL WINAPI TranslateMessage(
  __in&amp;nbsp;&amp;nbsp;const MSG *lpMsg
);
&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;lpMsg ; A pointer to an MSG structure that contains messgae information retrieved from the calling thread&#39;s message queue by using the GetMessage or PeekMessage function.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Return Value&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;If the message is translate, the return value is nonzero(true).&lt;/li&gt;
&lt;li&gt;otherwise, the return value is zero(false)&lt;/li&gt;
&lt;li&gt;If the message is WM-KEYDOWN,WM_KEYUP,WM_SYSTEMDOWN,or WM_SYSTEMUP, the return value is nonzero, regardless of the translation.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;conceptual :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms632590.aspx?appId=Dev10IDEF1&amp;amp;l=KO-KR&amp;amp;k=k(CMFCPROPERTYGRIDFONTPROPERTY);k(DevLang-&quot;&gt;Message and Message Queues&lt;/a&gt;&lt;/div&gt;&lt;div&gt;example :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms644928.aspx?appId=Dev10IDEF1&amp;amp;l=KO-KR&amp;amp;k=k(CMFCPROPERTYGRIDFONTPROPERTY);k(DevLang-#creating_loop&quot;&gt;Using Message and Message Queues.&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms644955.aspx?appId=Dev10IDEF1&amp;amp;l=KO-KR&amp;amp;k=k(CMFCPROPERTYGRIDFONTPROPERTY);k(DevLang-&quot;&gt;http://msdn.microsoft.com/ko-kr/library/ms644955.aspx?appId=Dev10IDEF1&amp;amp;l=KO-KR&amp;amp;k=k(CMFCPROPERTYGRIDFONTPROPERTY);k(DevLang-&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/1457807790522535017/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-translatemessage.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/1457807790522535017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/1457807790522535017'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-translatemessage.html' title='[Win32 API] TranslateMessage()'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-7044190272734380771</id><published>2011-02-28T07:52:00.000-08:00</published><updated>2011-02-28T07:52:26.742-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GetMessage()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] GetMessage Function()</title><content type='html'>Retrieves a message from (only) the calling thread&#39;s message queue.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;BOOL WINAPI GetMessage(
  __out&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LPMSG lpMsg,
  __in_opt&amp;nbsp;&amp;nbsp;HWND hWnd,
  __in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UINT wMsgFilterMin,
  __in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UINT wMsgFilterMax
);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Parameters&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;lpMsg : A pointer to an MSG structure that recives message information from the thread&#39;s message queue.&lt;/li&gt;
&lt;li&gt;hWind : A handle to the window whose message are to be retrieved. The Window must belong to the current thread.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;If hWnd is NULL, GetMessage retrieves message for any window that belong to the current thread, and any messages on the current thread&#39;s message whose hwnd value is NULL. Therefore if hWnd is NULL, both window massages and thread messages are processed.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;wMsgFilterMin : The integer value of the lowest message value to be retrieved.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;ex) Use WM_KEYFIRST(0x0100) to specify the first keyboard message or WM_MOUSEFIRST(0x0200) to specify the first mouse message.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;wMsgFilterMax : The integer value of the highest message value to be retrieved.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;ex)Use WM_KEYLAST &amp;nbsp;to specify the last keyboard message.&lt;/li&gt;
&lt;li&gt;If wMsgFilterMin and wMsgFilter are both zero, GetMassage return all available messages.&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Return Value&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;If the function retreives the message WM_QUIT, return zero(false).&lt;/div&gt;&lt;div&gt;otherwise, return nonzero.(true)&lt;/div&gt;&lt;div&gt;This return value is using that escape infinite loop.&lt;/div&gt;&lt;div&gt;The possibility of a -1 return value means such code can lead to fatal application errors.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;ex)&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; white-space: pre;&quot;&gt;BOOL bRet;&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-size: 13px; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;while( (bRet = GetMessage( &amp;amp;msg, hWnd, 0, 0 )) != 0)
{ 
    if (bRet == -1)
    {
        // handle the error and possibly exit
    }
    else
    {
        TranslateMessage(&amp;amp;msg); 
        DispatchMessage(&amp;amp;msg); 
    }
}
&lt;/pre&gt;&lt;div style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms644936.aspx?appId=Dev10IDEF1&amp;amp;l=KO-KR&amp;amp;k=k(&quot;&gt;http://msdn.microsoft.com/ko-kr/library/ms644936.aspx?appId=Dev10IDEF1&amp;amp;l=KO-KR&amp;amp;k=k(&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/7044190272734380771/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-getmessage-function.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7044190272734380771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7044190272734380771'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-getmessage-function.html' title='[Win32 API] GetMessage Function()'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-8952236137404234255</id><published>2011-02-28T07:07:00.000-08:00</published><updated>2011-02-28T07:07:51.956-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ShowWindow()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] ShowWindow Function</title><content type='html'>Set the specified windows&#39;s show state.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;BOOL WINAPI ShowWindow(
  __in&amp;nbsp;&amp;nbsp;HWND hWnd,
  __in&amp;nbsp;&amp;nbsp;int nCmdShow
);
&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Parameter&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;hWin : A handle to the window.&lt;/li&gt;
&lt;li&gt;nCmdShow : Controls how the window is to be shown.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;This parameter can be use one of the following values.&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;table style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; width: 585px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;th style=&quot;background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;&quot;&gt;Value&lt;/th&gt;&lt;th style=&quot;background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;&quot;&gt;Meaning&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_FORCEMINIMIZE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_FORCEMINIMIZE&lt;/dt&gt;
&lt;dt&gt;11&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Minimizes a window, even if the thread that owns the window is not responding. This flag should only be used when minimizing windows from a different thread.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_HIDE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_HIDE&lt;/dt&gt;
&lt;dt&gt;0&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Hides the window and activates another window.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_MAXIMIZE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_MAXIMIZE&lt;/dt&gt;
&lt;dt&gt;3&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Maximizes the specified window.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_MINIMIZE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_MINIMIZE&lt;/dt&gt;
&lt;dt&gt;6&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Minimizes the specified window and activates the next top-level window in the Z order.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_RESTORE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_RESTORE&lt;/dt&gt;
&lt;dt&gt;9&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Activates and displays the window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when restoring a minimized window.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOW&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOW&lt;/dt&gt;
&lt;dt&gt;5&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Activates the window and displays it in its current size and position.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWDEFAULT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWDEFAULT&lt;/dt&gt;
&lt;dt&gt;10&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Sets the show state based on the SW_ value specified in the&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms686331&quot; style=&quot;color: #1364c4; text-decoration: none;&quot;&gt;&lt;strong xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;STARTUPINFO&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;structure passed to the&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms682425&quot; style=&quot;color: #1364c4; text-decoration: none;&quot;&gt;&lt;strong xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;CreateProcess&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;function by the program that started the application.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWMAXIMIZED&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWMAXIMIZED&lt;/dt&gt;
&lt;dt&gt;3&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Activates the window and displays it as a maximized window.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWMINIMIZED&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWMINIMIZED&lt;/dt&gt;
&lt;dt&gt;2&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Activates the window and displays it as a minimized window.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWMINNOACTIVE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWMINNOACTIVE&lt;/dt&gt;
&lt;dt&gt;7&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Displays the window as a minimized window. This value is similar to SW_SHOWMINIMIZED, except the window is not activated.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWNA&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWNA&lt;/dt&gt;
&lt;dt&gt;8&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Displays the window in its current size and position. This value is similar to SW_SHOW, except that the window is not activated.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWNOACTIVATE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWNOACTIVATE&lt;/dt&gt;
&lt;dt&gt;4&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Displays a window in its most recent size and position. This value is similar to SW_SHOWNORMAL, except that the window is not activated.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;SW_SHOWNORMAL&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SW_SHOWNORMAL&lt;/dt&gt;
&lt;dt&gt;1&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Retrun Value&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;If the window was previously visible, the return value is nonzero(same as true).&lt;/div&gt;&lt;div&gt;otherwise, return zero(false)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms633548&quot;&gt;http://msdn.microsoft.com/ko-kr/library/ms633548&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/8952236137404234255/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-showwindow-function.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/8952236137404234255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/8952236137404234255'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-showwindow-function.html' title='[Win32 API] ShowWindow Function'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-8514694524102513606</id><published>2011-02-28T06:10:00.000-08:00</published><updated>2011-02-28T06:18:56.772-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GetStockObject()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win 32 API] GetStockObject Function</title><content type='html'>The GetStockObject function retrieves a handle to one of the stock pens,brush,fonts, or palettes.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;HGDIOBJ GetStockObject(
  __in&amp;nbsp;&amp;nbsp;int fnObject
);
&lt;/span&gt;&lt;/pre&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;The type of stock object. This parameter can be one of the following values.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;table style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; width: 585px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;th style=&quot;background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;&quot;&gt;Value&lt;/th&gt;&lt;th style=&quot;background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;&quot;&gt;Meaning&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;BLACK_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;BLACK_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Black brush.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;DKGRAY_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;DKGRAY_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Dark gray brush.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;DC_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;DC_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Solid color brush. The default color is white. The color can be changed by using the&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/dd162969(v=VS.85).aspx&quot; style=&quot;color: #1364c4; text-decoration: none;&quot;&gt;&lt;strong xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;SetDCBrushColor&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;function. For more information, see the Remarks section.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;GRAY_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;GRAY_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Gray brush.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;HOLLOW_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;HOLLOW_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Hollow brush (equivalent to NULL_BRUSH).&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;LTGRAY_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;LTGRAY_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Light gray brush.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;NULL_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;NULL_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Null brush (equivalent to HOLLOW_BRUSH).&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;WHITE_BRUSH&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;WHITE_BRUSH&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;White brush.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;BLACK_PEN&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;BLACK_PEN&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Black pen.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;DC_PEN&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;DC_PEN&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Solid pen color. The default color is white. The color can be changed by using the&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/dd162970(v=VS.85).aspx&quot; style=&quot;color: #1364c4; text-decoration: none;&quot;&gt;&lt;strong xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;SetDCPenColor&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;function. For more information, see the Remarks section.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;NULL_PEN&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;NULL_PEN&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;NULL pen. The null pen draws nothing.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;WHITE_PEN&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;WHITE_PEN&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;White pen.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;ANSI_FIXED_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;ANSI_FIXED_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Windows fixed-pitch (monospace) system font.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;ANSI_VAR_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;ANSI_VAR_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Windows variable-pitch (proportional space) system font.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;DEVICE_DEFAULT_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;DEVICE_DEFAULT_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Device-dependent font.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;DEFAULT_GUI_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;DEFAULT_GUI_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Default font for user interface objects such as menus and dialog boxes. It is not recommended that you use DEFAULT_GUI_FONT or SYSTEM_FONT to obtain the font used by dialogs and windows; for more information, see the remarks section.&lt;br /&gt;
The default font is Tahoma.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;OEM_FIXED_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;OEM_FIXED_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Original equipment manufacturer (OEM) dependent fixed-pitch (monospace) font.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;SYSTEM_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SYSTEM_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;System font. By default, the system uses the system font to draw menus, dialog box controls, and text. It is not recommended that you use DEFAULT_GUI_FONT or SYSTEM_FONT to obtain the font used by dialogs and windows; for more information, see the remarks section.&lt;br /&gt;
The default system font is Tahoma.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;SYSTEM_FIXED_FONT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;SYSTEM_FIXED_FONT&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Fixed-pitch (monospace) system font. This stock object is provided only for compatibility with 16-bit Windows versions earlier than 3.0.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=8514694524102513606&quot; id=&quot;DEFAULT_PALETTE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;DEFAULT_PALETTE&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Default palette. This palette consists of the static colors in the system palette.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Return Value&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;If the function succeeds,return a handle to the requested logical obejct.&lt;/div&gt;&lt;div&gt;otherwise, return NULL.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/dd144925(v=VS.85).aspx&quot;&gt;http://msdn.microsoft.com/ko-kr/library/dd144925(v=VS.85).aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/8514694524102513606/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win-32-api-getstockobject-function.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/8514694524102513606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/8514694524102513606'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win-32-api-getstockobject-function.html' title='[Win 32 API] GetStockObject Function'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-2015784253725424944</id><published>2011-02-28T05:38:00.000-08:00</published><updated>2011-02-28T05:38:01.829-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LoadCursor()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] LoadCursor Fuction</title><content type='html'>Load the cursor resource named by lpszResourceName or&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; specified by nIDResource from the current executable file.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;font-family: Consolas, Courier, monospace; font-style: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; word-break: break-all; word-wrap: break-word;&quot;&gt;HCURSOR WINAPI LoadCursor(
  __in_opt  HINSTANCE hInstance,
  __in      LPCTSTR lpCursorName
);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Parameter&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;lpszResourceName : Point to a nul-terminated string that contains the name of the cursor resource. You can use a Cstring for this argument.&lt;/li&gt;
&lt;li&gt;nIDResource : ID of the cursor resource. For a list of resources, see LoadCursor in the Windows SDK.&lt;/li&gt;
&lt;li&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;table style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; width: 585px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;th style=&quot;background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;&quot;&gt;Value&lt;/th&gt;&lt;th style=&quot;background-color: #e5e5e5; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-style: normal; font-weight: normal; height: 21px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left;&quot;&gt;Meaning&lt;/th&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_APPSTARTING&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_APPSTARTING&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Standard arrow and small hourglass&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_ARROW&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_ARROW&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Standard arrow&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_CROSS&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_CROSS&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Crosshair&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_HAND&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_HAND&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Hand&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_HELP&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_HELP&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Arrow and question mark&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_IBEAM&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_IBEAM&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;I-beam&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_ICON&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_ICON&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Obsolete for applications marked version 4.0 or later.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_NO&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_NO&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Slashed circle&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_SIZE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_SIZE&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Obsolete for applications marked version 4.0 or later. Use IDC_SIZEALL.&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_SIZEALL&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_SIZEALL&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Four-pointed arrow pointing north, south, east, and west&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_SIZENESW&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_SIZENESW&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Double-pointed arrow pointing northeast and southwest&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_SIZENS&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_SIZENS&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Double-pointed arrow pointing north and south&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_SIZENWSE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_SIZENWSE&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Double-pointed arrow pointing northwest and southeast&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_SIZEWE&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_SIZEWE&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Double-pointed arrow pointing west and east&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_UPARROW&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_UPARROW&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Vertical arrow&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;&lt;a href=&quot;&quot; id=&quot;IDC_WAIT&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDC_WAIT&lt;/dt&gt;
&lt;dt&gt;&lt;br /&gt;
&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; line-height: 18px; margin-bottom: 1px; margin-left: 1px; margin-right: 1px; margin-top: 1px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot;&gt;Hourglass&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Return Value&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;A handle to a cursor if successful; otherwise NULL.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Reference:&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/ko-kr/library/ms648391.aspx&quot;&gt;http://msdn.microsoft.com/ko-kr/library/ms648391.aspx&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/2015784253725424944/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-loadcursor-fuction.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2015784253725424944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2015784253725424944'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-loadcursor-fuction.html' title='[Win32 API] LoadCursor Fuction'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-2741784410073722665</id><published>2011-02-27T02:10:00.000-08:00</published><updated>2011-02-27T02:11:33.393-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LoadIcon()"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] LoadIcon Function</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;Load the specified icon resource.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d; font-size: large;&quot;&gt;Syntax&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;HICON WINAPI LoadIcon&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; __in_opt&amp;nbsp; HINSTANCE hInstance,&lt;br /&gt;
&amp;nbsp; __in&amp;nbsp; &amp;nbsp; &amp;nbsp; LPCTSTR lpIconName&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d; font-size: large;&quot;&gt;Parameters&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;hInstance[optional] : A handle to an instance of the module whose executable file contains the icon to be loaded. &lt;u&gt;This parameter must be NULL when a standard icon is being loaded.&lt;/u&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;lpIconName : The name of the icon resource to be loaded. To use one of the predefined icons, one of the follow values.&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th&gt;Value&lt;/th&gt;&lt;th&gt;Meaning&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_APPLICATION&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_APPLICATION&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32512)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Default application icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_ASTERISK&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_ASTERISK&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32516)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Asterisk icon. Same as IDI_INFORMATION.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_ERROR&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_ERROR&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32513)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Hand-shaped icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_EXCLAMATION&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_EXCLAMATION&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32515)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Exclamation point icon. Same as IDI_WARNING.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_HAND&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_HAND&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32513)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Hand-shaped icon. Same as IDI_ERROR.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_INFORMATION&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_INFORMATION&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32516)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Asterisk icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_QUESTION&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_QUESTION&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32514)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Question mark icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_SHIELD&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_SHIELD&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32518)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Security Shield icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_WARNING&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_WARNING&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32515)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Exclamation point icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=1061624867268071391&amp;amp;postID=2741784410073722665&quot; id=&quot;IDI_WINLOGO&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;IDI_WINLOGO&lt;/dt&gt;
&lt;dt&gt;MAKEINTRESOURCE(32517)&lt;/dt&gt;
&lt;/dl&gt;&lt;/td&gt;&lt;td&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Default application icon.&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;strong&gt;Windows&amp;nbsp;2000:&amp;nbsp;&amp;nbsp;&lt;/strong&gt;Windows logo icon.&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d; font-family: 나눔고딕코딩, Consolas; font-size: large;&quot;&gt;&lt;b&gt;Return Value&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;b&gt;HICON&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;if the function succeeds, the reuturn value is a handle to the newly loaded icon&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;if the function fails, the return value is NULL. To get extended error information, cal GetLastError.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;Reference :&lt;a href=&quot;http://www.blogger.com/goog_1034068076&quot;&gt;http://msdn.microsoft.com/en-us/library/ms648029(v=VS.85).aspx&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms648029(v=VS.85).aspx&quot;&gt;     &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/2741784410073722665/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-loadicon-function.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2741784410073722665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2741784410073722665'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-loadicon-function.html' title='[Win32 API] LoadIcon Function'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-2813400766141316888</id><published>2011-02-27T01:28:00.000-08:00</published><updated>2011-02-27T01:29:57.911-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WINAPI"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>[Win32 API] WINAPI - 함수호출규약</title><content type='html'>WINAPI는 함수 호출 규약으로 windef.h에 정의 되어 있다.&lt;br /&gt;
&lt;div&gt;기본적으로 _stdcall과 _cdecl 이 있는데 , 함수를 어떤 방식으로 호출할지 결정하는지 정한다.&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;_stdcall&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;함수 호출시 인자를 스택에 , 오른쪽에서 왼쪽순으로 저장한다.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;func(a,b,c) 라면 스택에 c를 넣고, b를 넣고, a를 넣는다.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;스택에 저장한 인자 메모리를 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;호출당한 쪽&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt; &lt;/span&gt;함수에서 해제해 준다.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;_cdecl&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;함수 호출시 인자를 스택에 오른쪽에서 왼쪽 순으로 저장한다. _stdcall과 동일&lt;/li&gt;
&lt;li&gt;스택에 저장한 인자 메모리를 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;호출한 쪽 함수&lt;/span&gt;에서 해제해 준다.&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;윈도우즈, 베이직,파스칼등 에서는 stdcall_이 default이다.&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;하지만, c/c++에서는 _cdecl이 default이다.&amp;nbsp;&lt;/div&gt;&lt;div&gt;따라서, 코딩중 Win32 API함수를 호출하는 경우에는 명시적으로 _stdcall을 써줘야한다.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;예)&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;WINAPI&lt;/span&gt; WinMain&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;HINSTANCE hInstance,&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HINSTANCE hPrevInstance,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LPSTR lpCmdLine,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;nCmdShow&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;라고 WINAPI라고 명시하면, _stdcall로 처리된다. WINAPI를 생략하게 되면, _cdecl로 간주되어 함수를 호출하게 되면 오류가 난다.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/2813400766141316888/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-winapi.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2813400766141316888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2813400766141316888'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-winapi.html' title='[Win32 API] WINAPI - 함수호출규약'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-6615158754412954525</id><published>2011-02-27T00:45:00.000-08:00</published><updated>2011-02-27T00:49:03.938-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><category scheme="http://www.blogger.com/atom/ns#" term="WinMain()"/><title type='text'>[Win32 API] WinMain()</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6; font-family: 나눔고딕코딩, Consolas; font-size: large;&quot;&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394; font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #339900; font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt;_____________________________________________________________________________________&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #339900; font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: 13px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&amp;nbsp;WINAPI WinMain&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;HINSTANCE hInstance,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HINSTANCE hPrevInstance,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LPSTR lpCmdLine,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;&amp;nbsp;nCmdShow&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f; font-size: 13px;&quot;&gt;_______________________________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #339900; font-family: 나눔고딕코딩, Consolas; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6; font-size: large;&quot;&gt;&lt;b&gt;Parameters&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #339900; font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;hInstance : Handle to the current instance of the App.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;hPrevInstance : Handle to the previous instance of the App.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;&lt;u&gt;Win32-based application, this parameter is always &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #660000;&quot;&gt;NULL&lt;/span&gt;.&lt;/u&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;lpCmdLine : Point to a null-terminated string&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;the command line for the application&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;like c style - int main(&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;string args[]&lt;/span&gt;)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;nShowCmd : Specifies how the window is to be shown.&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;This parameter can be one of the following values&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;SW_HIDE : Hides the window.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;SW_SHOW : Displays the window.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;SW_SHOWNA : Displays a window in its current state. &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #741b47;&quot;&gt;The active window remains active.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;SW_SHOWNOACTIVATE : Displays a window in its most recent size and position. The active window remains active.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;SW_SHOWNORMAL : Actives &amp;amp; display a window.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: 나눔고딕코딩, Consolas;&quot;&gt;Reference :&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa930760.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/aa930760.aspx&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/6615158754412954525/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-winmain.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/6615158754412954525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/6615158754412954525'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/win32-api-winmain.html' title='[Win32 API] WinMain()'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-5863123693061082665</id><published>2011-02-26T23:34:00.000-08:00</published><updated>2011-02-26T23:34:13.281-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>windows Event에 따른 응용프로그램 동작방식</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-abOLNfxaytq4y2AJBPpldnFi2UbO_h7ulDjKYAYqkVneHNPYzY6dYsHg57CL_p8Ylx-IiwLaGHtT1LqNkDlRSHT2MwHRlGzrTqcQoR16kswaknaEFLQrlsXhzT42JfwxxNkAS7j2gs/s1600/Untitleddrawing.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-abOLNfxaytq4y2AJBPpldnFi2UbO_h7ulDjKYAYqkVneHNPYzY6dYsHg57CL_p8Ylx-IiwLaGHtT1LqNkDlRSHT2MwHRlGzrTqcQoR16kswaknaEFLQrlsXhzT42JfwxxNkAS7j2gs/s640/Untitleddrawing.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;1.키보드나 마우스를 작동하면 Hardware Event가 발생한다.&lt;br /&gt;
&lt;br /&gt;
2.시스템은 이것을 감지해, 해당 움직임을 메세지로 표현하여,System Message Queue로 가져온다.&lt;br /&gt;
&lt;br /&gt;
3.System Message Queue에서 각 Application Message Queue로 나뉘어 들어가게 된다.&lt;br /&gt;
&lt;br /&gt;
4.App. Message Queue에서 메세지를 처리하는 Message Loop로 들어가게 되고, 실질적으로 메세지들을 처리하는 Window Procedure로 들어가게 된다.&lt;br /&gt;
Window Procedure에서 처리 하지 않은 메세지들은 Default Window Procedure에서 처리된다.&lt;br /&gt;
&lt;br /&gt;
관련항목 : Event Driven 방식,Message Driven 방식</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/5863123693061082665/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows-event.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/5863123693061082665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/5863123693061082665'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows-event.html' title='windows Event에 따른 응용프로그램 동작방식'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO-abOLNfxaytq4y2AJBPpldnFi2UbO_h7ulDjKYAYqkVneHNPYzY6dYsHg57CL_p8Ylx-IiwLaGHtT1LqNkDlRSHT2MwHRlGzrTqcQoR16kswaknaEFLQrlsXhzT42JfwxxNkAS7j2gs/s72-c/Untitleddrawing.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-2086094306853868323</id><published>2011-02-25T22:33:00.000-08:00</published><updated>2011-02-25T22:33:13.867-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DLL"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Windows OS를 구성하는 기본 DLL</title><content type='html'>Windows OS를 구성하는 기본적인 3개의 DLL(Dynamic Link Library)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;커널 (KERNE32.DLL) &lt;/b&gt;: Windows OS의 핵심으로 메모리관리, 파일 입출력,프로그램의 로드와 실행 등 OS의 기본기능을 수행한다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;GDI (GDI32.DLL)&lt;/b&gt; : 화면이나 프린터 같은 출력장치의 출력을 관리한다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;사용자 인터페이스 (USER32.DLL)&lt;/b&gt; : 윈도우, 다이얼로그, 메뉴, 커서, 아이콘 등과 같은 사용자 인터페이스 객체들을 관리한다.&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/2086094306853868323/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows-os-dll.html#comment-form' title='4개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2086094306853868323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2086094306853868323'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows-os-dll.html' title='Windows OS를 구성하는 기본 DLL'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-1383564136181376180</id><published>2011-02-25T22:29:00.000-08:00</published><updated>2011-02-26T23:08:27.926-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>windows 프로그래밍 기초 용어 정리</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #bf9000;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7; font-weight: bold;&quot;&gt;API&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&amp;nbsp;(Application Programming Interface)&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;Application이 OS나 DataBase Management System (DBMS)등과 통신할 때 사용되는 언어나 메세지의 형식을 말한다.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Application 개발자들을 위해 제공되는 함수 집합으로 많은 종류의 API가 존재한다. 그 중 32bit인 windows 95/98,2000,NT,XP등에서 제공하는 API를 Win32 API라고 한다.&lt;/li&gt;
&lt;li&gt;대표적인 함수로 CreateWindow(),ShowWindow(),UpdateWindow()등이 있다.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7; font-weight: bold;&quot;&gt;SDK&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;(Software Development Kit)&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Win32 API를 이용하여 프로그램을 개발하는 도구 즉 소프트웨어 패키지로 각종 편집 툴, 라이브러리, 헤더파일,도움말,예제 프로그램들로 구성되어 있다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;대표적인 예로, VisualStudio c++등이 있다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Windows GUI&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjafbwNV36UGC9Su9N_yokbo0q9G6-dSfDkfLPnjIXwYivPbopYlZXpz4CpRUDBbAI5QKNBVyQb6bqZd1BK0RneFSL-X_ttAHEFPdhVec8ZHCw20uVQXmCg7C8CcuM5VHrWi-HKMxURgrs/s1600/example.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjafbwNV36UGC9Su9N_yokbo0q9G6-dSfDkfLPnjIXwYivPbopYlZXpz4CpRUDBbAI5QKNBVyQb6bqZd1BK0RneFSL-X_ttAHEFPdhVec8ZHCw20uVQXmCg7C8CcuM5VHrWi-HKMxURgrs/s400/example.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;windows program들은 위와 같이 대부분 일관된 사용자 인터페이스를 제공한다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;시스템 메뉴, 메뉴바 ,툴바, 최대/최소/닫기 버튼 등으로 구성 되어있다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;사실 툴바 메뉴바 등등도 윈도우이다. 실질적으로 하나의 윈도우는 여러 윈도우의 집합이다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Resource&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;메뉴,아이콘, 커서,비트맵,문자열, 버전정보 등 사용자 인터페이스를 구성하는 자원들로 읽기 전용 정적 데이터를 말한다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;리소스는 프로그램 실행중 변경되지 않는 정적 데이터이다.&lt;/b&gt; c/c+과 같은 언어로 관리하지 않고 Resource Script파일로 관리한다.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;윈도우즈 프로그램의 큰 특징 중 하나가 소스코드와 리소스가 분리 되어 있다는 것이다.&lt;/b&gt; &amp;nbsp;DOS기반 프로그래밍에서는 프로그램에 쓰이는 리소스를 정의할때 배열로 불러와 저장해 사용하거나, 외부 파일로 만들어 둔 후 사용했다. 하지만 윈도우즈 프로그래밍에서는 이런 데이터들을 리소스로 만들어 놓고 소스코드와 별도로 컴파일하고, 링크시 최종 파일에 합쳐진다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Event ,Message&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;마우스를 클릭하거나 창의 크기를 줄이는 등 기계적인 동작을 하면 이벤트가 발생한것이 되고, windows OS에서 이것을 감지해 Message의 형태로 해당 프로그램에 전달하게 된다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;윈도우 메시지의 경우 &quot;WM_&quot;으로 시작하고, 버튼 컨트롤 메세지의 경우 &quot;BM_&quot;으로 표시된다.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;ex) WM_CREATE : 윈도우가 생성될때 발생하는 메세지.&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Message Queue(FIFO : First In First Out)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;사용자의 컴퓨터 조작에 의해 발생한 이벤트는 메시지 형태로 만들어져 윈도우즈 OS가 관리하는 메세지 큐라는 곳에 모이게 된다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;하나의 프로그램이 실행되면 하나의 메세지 큐가 할당된다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;윈도우에서 메세지가 발생하면 OS에 의해 해당 메세지 큐로 전달하게 된다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Queue의 속성을 그대로 가지며, FIFO 형태로 먼저 들어온 메세지큐가 먼저 나가게 된다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Message Loop&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;윈도우즈 OS가 각 응용프로그램 메세지큐에 전달했던 메세지들을 분석하는 무한 루프이다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Window Procedure&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Massage Loop에서 해석한 메세지를 구체적으로 처리하는 기능을 하는 소스 부분으로 OS가 호출하도록 콜백(callback) 함수로 만든다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;콜백함수는 함수 앞에 키워드 CALLBACK을 쓰며 , 호출은 OS가 한다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Handle&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Application에서 현재 사용중인 객체(윈도우,커서,아이콘,메뉴 등)들을 구분하기 위해 윈도우즈 OS가 부여하는 고유 번호로 32bit 정수형을 사용한다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;핸들은 운영체제가 발급해주며, 사용자는 쓰기만 하면된다.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;예를들어, 윈도우나 파일을 열면, OS에서는 핸들을 부여한다. 사용자는 필요에 따라 핸들을 저장해 두었다가 해당 윈도우나 파일을 다시 참조할때 , 저장해둔 핸들을 사용해서 접근하면 된다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;실제 그 값이 무엇인지 전혀 알 필요가 없다. OS가 부여해주는 핸들을 대입받아 쓰고 버리면 된다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;문자열로 식별하는것 보다 정수형으로 구분하는 것이 처리속도가 월등히 빠르기때문에 핸들은 정수형을 사용한다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;Divice Context&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;그래픽과 관련된 모든 옵션을 모아놓은 구조체이다.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7; font-weight: bold;&quot;&gt;GDI &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;(Graphic Device Interface)&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;GDI는 선그리기, 도형그리기, 컬러 관리 등과 같은 그래픽 함수들을 구현하는 일을 담당하는 윈도우즈의 구성요소로 디스플레이,프린터,기타 장치에 대한 그래픽 출력을 위하여 제공하는 함수와 그와 관련된 구조이다.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;GDI객체(Object)에는 펜, 브러시,폰트,팔레트,비트맵 등이 있다.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/1383564136181376180/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows_25.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/1383564136181376180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/1383564136181376180'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows_25.html' title='windows 프로그래밍 기초 용어 정리'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjafbwNV36UGC9Su9N_yokbo0q9G6-dSfDkfLPnjIXwYivPbopYlZXpz4CpRUDBbAI5QKNBVyQb6bqZd1BK0RneFSL-X_ttAHEFPdhVec8ZHCw20uVQXmCg7C8CcuM5VHrWi-HKMxURgrs/s72-c/example.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-6046051903338811234</id><published>2011-02-25T08:28:00.000-08:00</published><updated>2011-02-26T07:44:16.048-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>windows 주요 개념</title><content type='html'>c/c++을 배우면서 주로 console이나, dos기반의 프로그램들을 짜왔다.&lt;br /&gt;
&lt;div&gt;같은 c/c++을 기반으로 하지만, 윈도우즈 프로그래밍의 코드들을 보면,&lt;/div&gt;&lt;div&gt;수없이 많은 낯선 함수, 열거체, 구조체,매크로 등으로 혼란스럽기만하다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;windows 에 대한 기본적인 배경이야기를 알아 놓으면, 한결 수월해진다.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;windows의 기본적인 특징들을 주요 세가지만 꼽아보자.&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;GUI(Graphic User Interface)&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #e06666;&quot;&gt; &lt;/span&gt;이다.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;시커먼 화면에 글자 몇개만 뜨는 도스와는 달리, 그래픽기반의 OS이다. 픽셀단위의 섬세한 처리가 가능하여 다양한 그래픽을 표현할 수 있다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;멀티태스킹(Multitasking)&lt;/b&gt;&lt;/span&gt;과 &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;멀티스레딩(Mutithreading)&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;여러가지 프로그램을 동시에 실행시킬 수 있다. 윈도우 95부터 주로 선점형(preemptive) &lt;b&gt;멀티 태스킹&lt;/b&gt;을 지원한다.&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;선점형 멀티 태스킹&lt;/span&gt;이란?&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;코드들은 코드가 수행되기 위해 cpu가 자신을 위해 시간을 쏟길 바란다. 선점형 멀티태스킹의 반대인 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;비 선점형 멀티태스킹&lt;/span&gt;의 경우, cpu의 시간을 관리하는 주체가 OS가 아니라 응용프로그램이다. 따라서 응용프로그램은 마음껏 cpu를 사용한다. 누구에게도 선점당할 염려가 없다.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;선점형 멀티태스킹의 경우는 그 반대이다. OS가 cpu사용시간을 관리한다. 골고루 cpu를 사용할 수 있도록 한다. 만약 어떤 프로그램이 오류가 발생해 다음 프로그램으로 넘겨주지 못하는 상황이 온다면, OS가 관여해서, cpu자원등을 회수해 가서 다른 프로그램들에게 넘겨준다.누구든지 선점할 수 있는 방식으로 운영한다.&lt;/li&gt;
&lt;li&gt;비선형멀티태스킹의 경우, 버그나 오류에 있어서 치명적이고, 여러가지 프로그램을 동시에 실행시키지 못한다. 하지만 선점형 멀티태스킹의 경우, 자원을 골고루 나누어쓰기때문에 거의동시에 여러프로그램이 실행되는것 같은 효과를 가진다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;b&gt;멀티스레딩&lt;/b&gt;이란? 멀티태스킹이 동시에 여러가지 프로그램이 수행되는 것을 말했다면, 멀티스레딩은 한 프로그램 내에서 두개 이상의 기능이 병렬적으로 수행되도록 프로그램을 작성하는 것을 말한다.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;멀티스레딩의 이점: &amp;nbsp;빠른처리,단순화된 설계,병렬화의 극대화,cpu사용율 증가,사용자에 대한 응답성 향상 등등&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;장치 독립적인 인터페이스&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;하드웨어장치에 무관하게 프로그래밍일 할 수 있는 것을 말한다.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;하드웨어 제조사는 마이크로소프트에서 미리 정해 놓은 규칙에 따라 해당 하드웨어를 구동할 수 있는 구동프로그램(Device Driver 소프트웨어)을 작성하여 배포하기때문에 프로그래머는 현재 어떤 하드웨어가 설치되어 있는지 등에 대한 신경을 쓰지 않고 프로그램을 짤 수 있다.&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;reference:&lt;/div&gt;&lt;div&gt;http://www.imaso.co.kr/?doc=bbs/gnuboard.php&amp;amp;bo_table=article&amp;amp;wr_id=34848&lt;/div&gt;&lt;div&gt;송호근 외2명,c/c++에 기반한 Win32 API기초 윈도우 프로그래밍,2007,Grobal,ch9&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/6046051903338811234/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/6046051903338811234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/6046051903338811234'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/windows.html' title='windows 주요 개념'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-3584458388833442341</id><published>2011-02-23T03:21:00.000-08:00</published><updated>2011-02-23T03:21:04.309-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CellRenderer"/><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JTree"/><title type='text'>JAVA Tree CellRenderer - Icon setting</title><content type='html'>트리의 노드형태는 리스트와 콤보박스와 마찬가지로 CellRenderer인터페이스를 통해 관리한다.&lt;div&gt;TreeCellRenderer라는 인터페이스가 있고, 이것을 구현한 DefaultTreeCellRenderer가 존재한다.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;DefaultCellRenderer에는 노드의 아이콘을 변경할 수 있는 메소드 들이 존재한다.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;void setLeafIcon(Icon icon) - leafnode 의 아이콘을 icon으로 설정한다.&lt;/li&gt;
&lt;li&gt;void setClosedIcon(Icon icon) - 닫혀진 node의 아이콘을 icon으로 설정한다.&lt;/li&gt;
&lt;li&gt;void setOpenIcon(Icon icon) - 열린 node의 아이콘을 icon으로 설정한다.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;다음 예제는 DefaultTreeCellRender를 이용하여 아이콘을 변경하는 예제이다.&amp;nbsp;&lt;/div&gt;&lt;div&gt;순서는 다음과 같다.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;트리의 노드들을 생성하고 , 붙여주어서 트리를 만든다.&lt;/li&gt;
&lt;li&gt;DefaultCellRenderer객체를 하나 만들고, 아이콘 설정 메소드들를 이용하여 아이콘 설정&lt;/li&gt;
&lt;li&gt;트리의 setRenderer()메소드를 이용하여 renderer를 변경한다.&lt;/li&gt;
&lt;li&gt;완성된 트리를 pane에 붙임으로 완성한다.&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol class=&quot;code&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 10pt;&quot;&gt;&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import javax.swing.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import javax.swing.tree.*;;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;class&lt;/span&gt;&amp;nbsp;TreeIcon&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJFrame+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JFrame&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;protected&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTree+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTree&lt;/span&gt;&lt;/a&gt;&amp;nbsp;tree;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;TreeIcon&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;super&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;아이콘이 있는 트리&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//트리만들어주기&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;root=&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;ROOT&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;parent=&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;PARENT&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;child1=&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;CHILD1&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;child2=&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;CHILD2&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; parent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;child1&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; parent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;child2&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;parent&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tree =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTree+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTree&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;root&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//아이콘을 변경해주기&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultTreeCellRenderer+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultTreeCellRenderer&lt;/span&gt;&lt;/a&gt;&amp;nbsp;renderer =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultTreeCellRenderer+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultTreeCellRenderer&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; renderer.&lt;span style=&quot;color: #006600;&quot;&gt;setLeafIcon&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AImageIcon+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;ImageIcon&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;child.gif&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; renderer.&lt;span style=&quot;color: #006600;&quot;&gt;setClosedIcon&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AImageIcon+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;ImageIcon&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;parent_close.gif&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; renderer.&lt;span style=&quot;color: #006600;&quot;&gt;setOpenIcon&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AImageIcon+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;ImageIcon&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;parent_open.gif&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tree.&lt;span style=&quot;color: #006600;&quot;&gt;setCellRenderer&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;renderer&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tree.&lt;span style=&quot;color: #006600;&quot;&gt;setEditable&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setDefaultCloseOperation&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;EXIT_ON_CLOSE&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getContentPane&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Center&quot;&lt;/span&gt;,&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJScrollPane+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JScrollPane&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;tree&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setSize&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;300&lt;/span&gt;,&lt;span style=&quot;color: #cc66cc;&quot;&gt;200&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setVisible&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;main&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&amp;nbsp;args&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;TreeIcon&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&amp;nbsp;&lt;/div&gt;&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/3584458388833442341/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-tree-cellrenderer-icon-setting.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/3584458388833442341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/3584458388833442341'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-tree-cellrenderer-icon-setting.html' title='JAVA Tree CellRenderer - Icon setting'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-4209670491694812502</id><published>2011-02-18T08:41:00.000-08:00</published><updated>2011-02-18T08:41:49.864-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Drag And Drop"/><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><title type='text'>JAVA Drag and Drop Demo</title><content type='html'>DragSource에서 DropTarget으로 &amp;lt;&amp;lt;Transferable&amp;gt;&amp;gt; Data가 전송되는 일련의 과정.&lt;br /&gt;
&lt;br /&gt;
DropTarget 생성자 중 가장 매개변수가 많은 것을 살펴보자.&lt;br /&gt;
&lt;br /&gt;
DropTarget(Component c, int ops,DropTargetListener dtl,boolean act,FlavorTree ft)&lt;br /&gt;
예)&lt;br /&gt;
&lt;br /&gt;
&lt;ol class=&quot;code&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 10pt;&quot;&gt;&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;target =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTarget+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTarget&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;editor,&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADnDConstants+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DnDConstants&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;ACTION_COPY_OR_MOVE&lt;/span&gt;,&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetListener+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetListener&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;this&lt;/span&gt;,&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;,&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
&amp;nbsp;매개변수중 int ops부분을 살펴보자.&lt;br /&gt;
DnDConstants.ACTION_COPY_OR_MOVE 가 보인다.&lt;br /&gt;
DnDConstants 클래스는 Drag &amp;amp; Drop이 발생하는 경우 처리되는 오퍼레이션의 형태를 표현한 것이다.&lt;br /&gt;
&lt;br /&gt;
ACTION_COPY_OR_MOVE 는 복사 혹은 이동을 표현한것이고,&lt;br /&gt;
ACTION_COPY는 복사만, ACTION_MOVE는 이동만 표현한것 등등 이 있다.&lt;br /&gt;
&lt;br /&gt;
*DropTagetListener를 구현하는 과정에서 매개변수로 전달되는 것들이 미묘하게 다르다 ㅠ&lt;br /&gt;
&lt;br /&gt;
드랍타겟 생성 -&amp;gt;드래그소스에서 읽어온 정보들을 Transferable하게 적재한다. -&amp;gt;드랍타켓에 운반 완료.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
윈도우탐색기의 텍스트파일을 드래그앤 드랍하면 내용을 가져오는 예제&lt;br /&gt;
&lt;br /&gt;
DNDText.java&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol class=&quot;code&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 10pt;&quot;&gt;&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.io.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.awt.dnd.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.awt.datatransfer.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import javax.swing.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;class&lt;/span&gt;&amp;nbsp;DnDText&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJFrame+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JFrame&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;implements&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetListener+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetListener&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTextArea+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTextArea&lt;/span&gt;&lt;/a&gt;&amp;nbsp;editor;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTarget+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTarget&lt;/span&gt;&lt;/a&gt;&amp;nbsp;target;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;DnDText&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;super&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Drag &amp;amp; Drop&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; editor =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTextArea+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTextArea&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; target =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTarget+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTarget&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;editor,&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADnDConstants+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DnDConstants&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;ACTION_COPY_OR_MOVE&lt;/span&gt;,&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetListener+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetListener&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;this&lt;/span&gt;,&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;,&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getContentPane&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Center&quot;&lt;/span&gt;,&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJScrollPane+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JScrollPane&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;editor&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setDefaultCloseOperation&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;EXIT_ON_CLOSE&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setSize&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;450&lt;/span&gt;,&lt;span style=&quot;color: #cc66cc;&quot;&gt;500&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setVisible&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;/* DropTargetListener 인터페이스 구현을 위한 부분 */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;dragEnter&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetDragEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetDragEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;dtde&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;dragEnter&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;dragExit&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;dtde&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;dragExit&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;dragOver&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetDragEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetDragEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;dtde&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;dragOver&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;drop&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetDropEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetDropEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;dtde&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;drop&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//액션이 copy or move인 경우에 읽어들인다.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;dtde.&lt;span style=&quot;color: #006600;&quot;&gt;getDropAction&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&amp;amp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADnDConstants+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DnDConstants&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;ACTION_COPY_OR_MOVE&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;!=&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dtde.&lt;span style=&quot;color: #006600;&quot;&gt;acceptDrop&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;dtde.&lt;span style=&quot;color: #006600;&quot;&gt;getDropAction&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ATransferable+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;Transferable&lt;/span&gt;&lt;/a&gt;&amp;nbsp;tr = dtde.&lt;span style=&quot;color: #006600;&quot;&gt;getTransferable&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;try&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//전달되는 파일을 리스트형태로 변환&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//파일리스트의 DataFlavor를 이용하여 tr에 저장&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.&lt;span style=&quot;color: #006600;&quot;&gt;util&lt;/span&gt;.&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AList+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;List&lt;/span&gt;&lt;/a&gt;&amp;nbsp;list =&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;java.&lt;span style=&quot;color: #006600;&quot;&gt;util&lt;/span&gt;.&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AList+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;List&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tr.&lt;span style=&quot;color: #006600;&quot;&gt;getTransferData&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADataFlavor+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DataFlavor&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;javaFileListFlavor&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;//리스트의 첫번째 원소를 파일로 읽어들인다.&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AFile+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;File&lt;/span&gt;&lt;/a&gt;&amp;nbsp;file =&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AFile+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;File&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;list.&lt;span style=&quot;color: #006600;&quot;&gt;get&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt;&amp;nbsp;buf&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1024&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ABufferedReader+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;BufferedReader&lt;/span&gt;&lt;/a&gt;&amp;nbsp;in =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ABufferedReader+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;BufferedReader&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AFileReader+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;FileReader&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;file&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt;&amp;nbsp;n =&amp;nbsp;&lt;span style=&quot;color: #cc66cc;&quot;&gt;-1&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; editor.&lt;span style=&quot;color: #006600;&quot;&gt;setText&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;n=in.&lt;span style=&quot;color: #006600;&quot;&gt;read&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;buf,&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;,&lt;span style=&quot;color: #cc66cc;&quot;&gt;1024&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;!=&lt;span style=&quot;color: #cc66cc;&quot;&gt;-1&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; editor.&lt;span style=&quot;color: #006600;&quot;&gt;append&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;buf,&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;,n&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in.&lt;span style=&quot;color: #006600;&quot;&gt;close&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AException+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;Exception&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.&lt;span style=&quot;color: #006600;&quot;&gt;printStackTrace&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;dropActionChanged&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADropTargetDragEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DropTargetDragEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;dtde&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;dropActionChanged&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;main&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&amp;nbsp;args&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;DnDText&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/4209670491694812502/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-drag-and-drop-demo.html#comment-form' title='1개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/4209670491694812502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/4209670491694812502'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-drag-and-drop-demo.html' title='JAVA Drag and Drop Demo'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-7334417156710863168</id><published>2011-02-18T03:32:00.000-08:00</published><updated>2011-02-18T03:32:01.797-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="LookAndFeel"/><title type='text'>JAVA LookAndFeel Demo</title><content type='html'>스윙의 컴포넌트 스퇄이 달라지게 할 수 있당.&lt;br&gt;
&lt;br&gt;
&lt;ol class=&quot;code&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 10pt;&quot;&gt;&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AUIManager+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;UIManager&lt;/a&gt;&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;setLookAndFeel&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;quot;com.sun.java.swing.plaf.motif.MotifLookAndFeel&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASwingUtilities+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;SwingUtilities&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;updateComponentTreeUI&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;br&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;UIManager를 통해서 룩앤필 갈아끼우고&lt;/div&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;SwingUtiliteis.update()를 통해서 UI를 업데이트시킨다. &lt;/div&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;이 모든게 프로그램 실행중에 이루어질수 있다는 사실! 차암 놀랍죠~잉.&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;br&gt;
&lt;br&gt;
LookNfeelTest.java&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://woowowoong.blogspot.com/2011/02/java-lookandfeel-demo.html#more&quot;&gt;더 알아보기&amp;gt;&amp;gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/7334417156710863168/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-lookandfeel-demo.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7334417156710863168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/7334417156710863168'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-lookandfeel-demo.html' title='JAVA LookAndFeel Demo'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq1XICn4SBicNjyVf6TAGIWGIbhyzINreD8Fla7lwvz7qC6jQQ3Bywk83sTILZ4N_LvnftMlo2mlyHDNfA_1AJvvjUIpAQ1JYprvqnXB-l8QdT6MHzojXHNC89gDKOds8pQk4vrpxF3eE/s72-c/looknfeel_java.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-8461818849547409822</id><published>2011-02-18T01:16:00.000-08:00</published><updated>2011-02-18T01:16:52.404-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JInternalFrame"/><title type='text'>JAVA JInternalFrame Demo</title><content type='html'>이클립스나, 포토샵처럼 한 프레임 안에 또 다른 프레임들이 있게 만들어 주자.&lt;br&gt;
&lt;br&gt;
JInternalFrame(String title) : title을 타이틀로 하는 내부 프레임을 생성한다.&lt;br&gt;
JInternaFrame(String title,boolean resizable,boolean closable, boolean iconifiable)&lt;br&gt;
여기에서 iconifiable이 true이면 최소화했을때, 아이콘형태로 메인 프레임위에 남는다.&lt;br&gt;
&lt;br&gt;
메인 프레임 위에 아이콘이 남게 하려면, 그냥 프레임위에서는 안되고,&lt;br&gt;
JDesktopPane을 붙여주고 그위에 inner Frame을 붙여주면 된다.&lt;br&gt;
&lt;br&gt;
InnerFrameDemo.java&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://woowowoong.blogspot.com/2011/02/java-jinternalframe-demo.html#more&quot;&gt;더 알아보기&amp;gt;&amp;gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/8461818849547409822/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jinternalframe-demo.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/8461818849547409822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/8461818849547409822'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jinternalframe-demo.html' title='JAVA JInternalFrame Demo'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWog4EpGHw0P-d3NdTUg9_4vIZYbj9dMXe9cDFOyfso_lcRAIWSt8pdPQ2AYupU2kqHSyo-7nAgu0fpTvhTLj2D8frpmt1NCl3FPGPQrpeBLc4I0oR8CiehjJpjBw-7y3Q1BdMglRTMO8/s72-c/InnerFrame.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-6601475104732223007</id><published>2011-02-18T00:31:00.000-08:00</published><updated>2011-02-18T00:31:04.988-08:00</updated><title type='text'>JAVA JTable Demo</title><content type='html'>JTableDemo.java&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol class=&quot;code&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 10pt;&quot;&gt;&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.awt.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.awt.event.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import javax.swing.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;class&lt;/span&gt;&amp;nbsp;JTableDemo&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJFrame+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JFrame&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;implements&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseListener+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseListener&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;protected&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTable+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTable&lt;/span&gt;&lt;/a&gt;&amp;nbsp;table;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;protected&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&amp;nbsp;data&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;JTableDemo&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;super&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JTable Demo&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&amp;nbsp;fieldName&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;이름&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;전화번호&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;E-Mail&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&amp;nbsp;d0&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;정우성&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;001-0011&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;jws@nts.co.kr&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=d0;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&amp;nbsp;d1&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;수애&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;123-1231&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;sa@atena.net&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=d1;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&amp;nbsp;d2&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;차승원&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;123-1232&quot;&lt;/span&gt;,&lt;span style=&quot;color: red;&quot;&gt;&quot;chasw@atena.net&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;=d2;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table=&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTable+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTable&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;data,fieldName&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table.&lt;span style=&quot;color: #006600;&quot;&gt;addMouseListener&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getContentPane&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJScrollPane+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JScrollPane&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;table&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;,&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ABorderLayout+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;BorderLayout&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;CENTER&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setDefaultCloseOperation&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJFrame+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JFrame&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;EXIT_ON_CLOSE&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setSize&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;300&lt;/span&gt;,&lt;span style=&quot;color: #cc66cc;&quot;&gt;200&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setVisible&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseClicked&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseExited&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseReleased&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseEntered&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mousePressed&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt;&amp;nbsp;row = table.&lt;span style=&quot;color: #006600;&quot;&gt;getSelectedRow&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;int&lt;/span&gt;&amp;nbsp;col= table.&lt;span style=&quot;color: #006600;&quot;&gt;getSelectedColumn&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;row ==&lt;span style=&quot;color: #cc66cc;&quot;&gt;-1&lt;/span&gt;&amp;nbsp;||col==&lt;span style=&quot;color: #cc66cc;&quot;&gt;-1&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;return&lt;/span&gt;&amp;nbsp;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;print&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;(&quot;&lt;/span&gt;+row+&lt;span style=&quot;color: red;&quot;&gt;&quot;,&quot;&lt;/span&gt;+col+&lt;span style=&quot;color: red;&quot;&gt;&quot;) - &quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;data&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;row&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;col&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;main&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&amp;nbsp;args&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JTableDemo td =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;JTableDemo&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh04KQ_0-9mMUAuDko0LWmAprPVwt3yU2jK2hd7OirSy3xGJwbGxbvF34aX5gm4B9x8h15p7aBTgQE1hXFZKdV6WEtA5eNerg86qxOO-cGsRpuNDEGTv9Q0vlLBBCqxErF9FXwV5gqt7Gc/s1600/JTable.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh04KQ_0-9mMUAuDko0LWmAprPVwt3yU2jK2hd7OirSy3xGJwbGxbvF34aX5gm4B9x8h15p7aBTgQE1hXFZKdV6WEtA5eNerg86qxOO-cGsRpuNDEGTv9Q0vlLBBCqxErF9FXwV5gqt7Gc/s1600/JTable.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/6601475104732223007/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jtable-demo.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/6601475104732223007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/6601475104732223007'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jtable-demo.html' title='JAVA JTable Demo'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh04KQ_0-9mMUAuDko0LWmAprPVwt3yU2jK2hd7OirSy3xGJwbGxbvF34aX5gm4B9x8h15p7aBTgQE1hXFZKdV6WEtA5eNerg86qxOO-cGsRpuNDEGTv9Q0vlLBBCqxErF9FXwV5gqt7Gc/s72-c/JTable.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-239399365447298679</id><published>2011-02-18T00:09:00.000-08:00</published><updated>2011-02-18T00:24:00.141-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JTree"/><title type='text'>JAVA JTree Demo</title><content type='html'>노드를 하나씩 만들어서 , 차례로 붙여주면 된다.&lt;br /&gt;
JTreeDemo.java&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol class=&quot;code&quot; style=&quot;font-family: 나눔고딕코딩, Consolas; font-size: 10pt;&quot;&gt;&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.awt.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import java.awt.event.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import javax.swing.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #a1a100;&quot;&gt;import javax.swing.tree.*;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;class&lt;/span&gt;&amp;nbsp;JTreeDemo&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;extends&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJFrame+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JFrame&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;implements&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseListener+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseListener&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;protected&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTree+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTree&lt;/span&gt;&lt;/a&gt;&amp;nbsp;tree;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;JTreeDemo&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;super&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JTree Demo&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;jcomponent=&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JComponent&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;jpanel=&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JPanel&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;jtextcomponent=&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JTextComponent&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;jtree=&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JTree&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jcomponent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;jpanel&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jcomponent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;jtextcomponent&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jcomponent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;jtree&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;jtextarea=&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JTextArea&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&amp;nbsp;jtextfield=&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;JTextField&quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jtextcomponent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;jtextarea&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jtextcomponent.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;jtextfield&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tree =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJTree+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JTree&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;jcomponent&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tree.&lt;span style=&quot;color: #006600;&quot;&gt;addMouseListener&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJScrollPane+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JScrollPane&lt;/span&gt;&lt;/a&gt;&amp;nbsp;sp=&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJScrollPane+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JScrollPane&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;tree&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; getContentPane&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;add&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;sp,&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ABorderLayout+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;BorderLayout&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;CENTER&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setDefaultCloseOperation&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AJFrame+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;JFrame&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;EXIT_ON_CLOSE&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setSize&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;300&lt;/span&gt;,&lt;span style=&quot;color: #cc66cc;&quot;&gt;200&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setVisible&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: grey; font-style: italic;&quot;&gt;/* MouseListener Interface 구현을 위한 부분 */&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseClicked&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseEntered&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseExited&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mouseReleased&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;mousePressed&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AMouseEvent+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;MouseEvent&lt;/span&gt;&lt;/a&gt;&amp;nbsp;e&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ATreePath+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;TreePath&lt;/span&gt;&lt;/a&gt;&amp;nbsp;path = tree.&lt;span style=&quot;color: #006600;&quot;&gt;getPathForLocation&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;e.&lt;span style=&quot;color: #006600;&quot;&gt;getX&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;,e.&lt;span style=&quot;color: #006600;&quot;&gt;getY&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;path ==&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;null&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;return&lt;/span&gt;&amp;nbsp;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AObject+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;Object&lt;/span&gt;&lt;/a&gt;&amp;nbsp;o = path.&lt;span style=&quot;color: #006600;&quot;&gt;getLastPathComponent&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;o&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;instanceof&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ASystem+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;System&lt;/span&gt;&lt;/a&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;out&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;println&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3ADefaultMutableTreeNode+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;DefaultMutableTreeNode&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;o&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;getUserObject&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;public&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #993333;&quot;&gt;void&lt;/span&gt;&amp;nbsp;main&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.google.com/search?hl=en&amp;amp;q=allinurl%3AString+java.sun.com&amp;amp;bntI=I%27m%20Feeling%20Lucky&quot;&gt;&lt;span style=&quot;color: #aaaadd; font-weight: bold;&quot;&gt;String&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;]&lt;/span&gt;&amp;nbsp;args&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JTreeDemo td =&amp;nbsp;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;new&lt;/span&gt;&amp;nbsp;JTreeDemo&lt;span style=&quot;color: #66cc66;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&quot;color: black; font-family: 나눔고딕코딩, Consolas; font-style: normal; font-weight: normal;&quot;&gt;&lt;div style=&quot;font-family: 나눔고딕코딩, Consolas; font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYldJjnrpB5lweUE4OKiS4njOE4Nedbm4yQDbOzow3VZdMDSYlqcB5jqm-nJDy9fhqEXmOvjwixdsj6A_6UdKIp7QWnXk3uQlGowtFfsomRn3yztWYhIUTthcByNEPZ3YcUN-fD4ymnf4/s1600/JTree.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYldJjnrpB5lweUE4OKiS4njOE4Nedbm4yQDbOzow3VZdMDSYlqcB5jqm-nJDy9fhqEXmOvjwixdsj6A_6UdKIp7QWnXk3uQlGowtFfsomRn3yztWYhIUTthcByNEPZ3YcUN-fD4ymnf4/s1600/JTree.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/239399365447298679/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jtree-demo.html#comment-form' title='1개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/239399365447298679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/239399365447298679'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jtree-demo.html' title='JAVA JTree Demo'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYldJjnrpB5lweUE4OKiS4njOE4Nedbm4yQDbOzow3VZdMDSYlqcB5jqm-nJDy9fhqEXmOvjwixdsj6A_6UdKIp7QWnXk3uQlGowtFfsomRn3yztWYhIUTthcByNEPZ3YcUN-fD4ymnf4/s72-c/JTree.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1061624867268071391.post-2456268054573958478</id><published>2011-02-17T23:39:00.000-08:00</published><updated>2011-02-17T23:39:20.505-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GUI"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JTextComponent"/><title type='text'>JAVA JTextComponent</title><content type='html'>스윙에서 텍스트와 관련된 컴포넌트들은 &lt;b&gt;JTextComponent&lt;/b&gt;를 상속받는다.&lt;br&gt;
텍스트 관련 클래스들은 용도에 따라 아래와 같이 세가지로 분류 된다.&lt;br&gt;
&lt;br&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;텍스트 컨트롤&lt;/span&gt;&lt;/b&gt; : 한줄을 입력할 수 있는 텍스트클래스&lt;/li&gt;
&lt;ul&gt;&lt;li&gt; JTextField :한줄의 텍스트를 다룬다.&lt;/li&gt;
&lt;li&gt; JPasswardField : 패스워드 형태의 텍스트를 다룬다. &lt;/li&gt;
&lt;li&gt; JFomattedTextFeild : 규격화된 형태의 텍스트를 다룬다.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;단순 텍스트&lt;/b&gt;&lt;/span&gt;: 여러줄을 입력할 수 있지만, 한가지의 폰트로 동일한 스타일의 문자열만 사용&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;JTextArea&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;b&gt;스타일&lt;/b&gt;&lt;/span&gt;: 하나이상의 폰트를 이용해서 화면에 보여줄 수 있다.&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;JEditorPane&lt;/li&gt;
&lt;li&gt;JTextPane &lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&lt;div&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;간단한 Demo&lt;/div&gt;&lt;div&gt;SwingText.java&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;a href=&quot;http://woowowoong.blogspot.com/2011/02/java-jtextcomponent.html#more&quot;&gt;더 알아보기&amp;gt;&amp;gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://woowowoong.blogspot.com/feeds/2456268054573958478/comments/default' title='댓글'/><link rel='replies' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jtextcomponent.html#comment-form' title='0개의 덧글'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2456268054573958478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1061624867268071391/posts/default/2456268054573958478'/><link rel='alternate' type='text/html' href='http://woowowoong.blogspot.com/2011/02/java-jtextcomponent.html' title='JAVA JTextComponent'/><author><name>mingo</name><uri>http://www.blogger.com/profile/05777611603411120237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRypfOnyKUgtA1uKE7a4gPZ-BNaY4Wbw3O9eqDzfg9qQMGC0ROP-XkUO8xK4vN3m-cYyK6sjWD1p7TsUmYzL1VG8i0dnrORxkuKLlIr8v8hYuH-6jXOP5aa0tcA2WygFIseBjV-LzzvG8/s72-c/SwingText.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>