<?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: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-7917174812057419941</id><updated>2011-04-21T11:02:02.288-07:00</updated><category term='java gui'/><category term='java general'/><category term='java tool'/><category term='java library'/><title type='text'>deeply love java</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-160123023522655563</id><published>2008-09-18T04:47:00.001-07:00</published><updated>2008-09-18T04:47:54.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java gui'/><title type='text'>setCellRenderer(TableCellRenderer cellRenderer)</title><content type='html'>set data in the table&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-160123023522655563?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/160123023522655563/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=160123023522655563' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/160123023522655563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/160123023522655563'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/09/setcellrenderertablecellrenderer.html' title='setCellRenderer(TableCellRenderer cellRenderer)'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-8325032173557436045</id><published>2008-08-05T01:21:00.001-07:00</published><updated>2008-08-05T01:21:27.357-07:00</updated><title type='text'>eclipse</title><content type='html'>set classpath:&lt;div&gt;.classpath&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-8325032173557436045?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/8325032173557436045/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=8325032173557436045' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/8325032173557436045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/8325032173557436045'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/08/eclipse.html' title='eclipse'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-6442472803113862453</id><published>2008-07-23T23:09:00.000-07:00</published><updated>2008-07-24T00:51:31.085-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java gui'/><title type='text'>event dispatch thread</title><content type='html'>all access to Swingcomponents needs to be done from a single thread—the event-dispatch thread&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;how to know whether you are in event dispatch thread&lt;/strong&gt;&lt;br /&gt;method1:&lt;br /&gt;EventQueue.isDispatchThread()&lt;br /&gt;&lt;br /&gt;method2:&lt;br /&gt;SwingUtilities.isEventDispatchThread()&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;how to give tasks to event diskpatch thread:&lt;/strong&gt;&lt;br /&gt;add runnable object to event queue&lt;br /&gt;method1:&lt;br /&gt;EventQueue.invokeLater(Runnable runnable)&lt;br /&gt;don't care when the task finishes&lt;br /&gt;&lt;br /&gt;method2:&lt;br /&gt;EventQueue.invokeAndWait(Runnable runnable)&lt;br /&gt;wait until task done&lt;br /&gt;&lt;br /&gt;ex:&lt;br /&gt;Runner runner = new Runnable(){&lt;br /&gt;      public void run(){&lt;br /&gt;           JFrame frame=new JFrame();&lt;br /&gt;           frame.setVisible(true);&lt;br /&gt;     }&lt;br /&gt;};&lt;br /&gt;EventQueue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-6442472803113862453?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/6442472803113862453/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=6442472803113862453' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/6442472803113862453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/6442472803113862453'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/07/event-dispatch-thread.html' title='event dispatch thread'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-9145020425388884948</id><published>2008-07-23T02:03:00.000-07:00</published><updated>2008-07-23T02:19:44.241-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java gui'/><title type='text'>JTable</title><content type='html'>&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;div&gt;JTable's  mothod&lt;/div&gt;getModel:&lt;/span&gt;&lt;div&gt;Returns the TableModel that provides the data displayed by this JTable.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;modify table's behavior:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;define a class that extends DefaultTableModel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;DefaultTableModel's method&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;void addRow(Object[] rowData)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-9145020425388884948?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/9145020425388884948/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=9145020425388884948' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/9145020425388884948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/9145020425388884948'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/07/jtable.html' title='JTable'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-5696156287586980075</id><published>2008-07-18T00:54:00.000-07:00</published><updated>2008-07-18T00:55:53.424-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java gui'/><title type='text'>JOptionPane</title><content type='html'>show message box&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;showConfirmDialog&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;   Asks a confirming question, like yes/no/cancel.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;showInputDialog&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;  Prompt for some input.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;showMessageDialo&lt;/span&gt;g&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;  Tell the user about something that has happened.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;showOptionDialog&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;  The Grand Unification of the above three.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-5696156287586980075?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/5696156287586980075/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=5696156287586980075' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/5696156287586980075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/5696156287586980075'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/07/joptionpane.html' title='JOptionPane'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-2919271118591098005</id><published>2008-06-29T07:23:00.000-07:00</published><updated>2008-06-29T09:20:04.628-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java tool'/><title type='text'>ant</title><content type='html'>like makefile&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;use xml&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;create a file called build.xml.  Then run ant.  Then the project is compiled &lt;/div&gt;&lt;div&gt;( ant -verbose will print more information)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;the top level element is project, its default attribute decides which target to do&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&amp;lt;project name="Test"  default="compile"&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;the target's depends property decides what targets must be done before it&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;&amp;lt;target name="compile"  depends="init&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;how to run ant:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;1. ant  &lt;/div&gt;&lt;div&gt;   this will execute default target&lt;/div&gt;&lt;div&gt;2. ant  targetName&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;show information about build.xml&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;ant -projecthelp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;show the targets with their description&lt;/div&gt;&lt;div&gt;( the description is described by description property of each target)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;some useful tasks:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;1. javac  srcdir="src", destdir="bin"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;compile java codes&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;2.  &amp;lt;echo&gt;hello&amp;lt;/echo&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;print message when running ant &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;3, &amp;lt;mkdir  dir="test/bin"/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;4. &amp;lt;jar  destfile="dist/test.jar"  basedir="bin" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;5. &amp;lt;delete dir="bin" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6. &lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&amp;lt;java classname="Test.Main"  classpath="bin"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;    &amp;lt;arg value="peter"/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;    &amp;lt;arg value="andy"/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;   &amp;lt;arg file="."/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;   &amp;lt;/java&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-2919271118591098005?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/2919271118591098005/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=2919271118591098005' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/2919271118591098005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/2919271118591098005'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/06/ant.html' title='ant'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-338171311366161286</id><published>2008-06-25T23:38:00.001-07:00</published><updated>2008-06-26T02:08:51.077-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java library'/><title type='text'>jh.jar,  jmf.jar</title><content type='html'>javax.help  package is in jh.jar&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;javax.media package is in jmf.jar&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-338171311366161286?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/338171311366161286/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=338171311366161286' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/338171311366161286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/338171311366161286'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/06/jhjar.html' title='jh.jar,  jmf.jar'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-1924897972800462102</id><published>2008-06-24T19:26:00.001-07:00</published><updated>2008-06-24T19:26:58.618-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java general'/><title type='text'>System.getProperty</title><content type='html'>ex:&lt;span class="Apple-style-span" style="color: rgb(196, 26, 22); font-family: Monaco; font-size: 14px; "&gt;&lt;span style="color: #000000"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(196, 26, 22); font-family: Monaco; font-size: 14px; "&gt;&lt;span style="color: #000000"&gt;System.&lt;/span&gt;&lt;span style="color: #2e0d6e"&gt;getProperty&lt;/span&gt;&lt;span style="color: #000000"&gt;(&lt;/span&gt;"java.library.path"&lt;span style="color: #000000"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-1924897972800462102?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/1924897972800462102/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=1924897972800462102' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/1924897972800462102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/1924897972800462102'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/06/systemgetproperty.html' title='System.getProperty'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-4593012012695285324</id><published>2008-06-18T19:50:00.000-07:00</published><updated>2008-06-18T20:25:53.993-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java general'/><title type='text'>export jar on jbuilder 2007</title><content type='html'>&lt;div&gt;(1) when export:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;      choose src folder of each project&lt;/div&gt;&lt;div&gt;     check:&lt;/div&gt;&lt;div&gt;     Export all output folders for checked projects&lt;/div&gt;&lt;div&gt;     add directory entries&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-4593012012695285324?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/4593012012695285324/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=4593012012695285324' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/4593012012695285324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/4593012012695285324'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/06/export-jar-on-jbuilder-2007.html' title='export jar on jbuilder 2007'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-41777876520984268</id><published>2008-06-17T02:28:00.000-07:00</published><updated>2008-06-17T02:31:48.671-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java general'/><title type='text'>manifest</title><content type='html'>set main class for jar&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;syntax:&lt;/div&gt;&lt;div&gt;ex:&lt;/div&gt;&lt;div&gt;manifest.txt&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Main-Class: test.MainApp&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-41777876520984268?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/41777876520984268/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=41777876520984268' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/41777876520984268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/41777876520984268'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/06/manifest.html' title='manifest'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7917174812057419941.post-4635376894510456854</id><published>2008-06-16T04:40:00.000-07:00</published><updated>2008-06-16T04:44:29.339-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java general'/><title type='text'>jar</title><content type='html'>when creating jar, the package directory is created according to your command&lt;div&gt;Hence, if you want the class in test package , you must use&lt;/div&gt;&lt;div&gt;jar  cvmf  manifest.txt  test &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If  test is in another directory , and you use&lt;/div&gt;&lt;div&gt;jar cvmf  manifest.txt  ../test&lt;/div&gt;&lt;div&gt;It will create test directory below  ..  directory,  so it can not find test/*.class &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7917174812057419941-4635376894510456854?l=deeplylovejava.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deeplylovejava.blogspot.com/feeds/4635376894510456854/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7917174812057419941&amp;postID=4635376894510456854' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/4635376894510456854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7917174812057419941/posts/default/4635376894510456854'/><link rel='alternate' type='text/html' href='http://deeplylovejava.blogspot.com/2008/06/jar.html' title='jar'/><author><name>deeplove</name><uri>http://www.blogger.com/profile/10859592301681118171</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
