﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-J-XMoses-随笔分类-Java</title><link>http://www.blogjava.net/xmoses/category/7614.html</link><description>J-XMoses</description><language>zh-cn</language><lastBuildDate>Wed, 28 Feb 2007 18:06:59 GMT</lastBuildDate><pubDate>Wed, 28 Feb 2007 18:06:59 GMT</pubDate><ttl>60</ttl><item><title>The META-INF directory in the JAR file</title><link>http://www.blogjava.net/xmoses/archive/2006/03/01/33067.html</link><dc:creator>Java-XMoses</dc:creator><author>Java-XMoses</author><pubDate>Wed, 01 Mar 2006 13:39:00 GMT</pubDate><guid>http://www.blogjava.net/xmoses/archive/2006/03/01/33067.html</guid><wfw:comment>http://www.blogjava.net/xmoses/comments/33067.html</wfw:comment><comments>http://www.blogjava.net/xmoses/archive/2006/03/01/33067.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xmoses/comments/commentRss/33067.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xmoses/services/trackbacks/33067.html</trackback:ping><description><![CDATA[<P>The META-INF directory, if it exists, is used to store package and extension configuration data, including security, versioning, extension and services. <BR>The following files/directories in the META-INF directory are recognized and interpreted by the Java 2 Platform to configure applications, extensions, class loaders <BR>and services: </P>
<UL>
<LI><FONT face="Courier New">MANIFEST.MF</FONT></LI></UL>
<P>.................<BR><BR>Tag libraries should be packed with their .tlds packed in their META-INF directory. JSP engines look through the JAR files in the /lib directory for TLDs and add the tags as necessary. Then when you are installing tag libraries, you only need to deliver one file - the JAR - no changes to the web.xml, no extra tlds hanging around. </P><img src ="http://www.blogjava.net/xmoses/aggbug/33067.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xmoses/" target="_blank">Java-XMoses</a> 2006-03-01 21:39 <a href="http://www.blogjava.net/xmoses/archive/2006/03/01/33067.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Use the DBCP in Application that running multiple threads</title><link>http://www.blogjava.net/xmoses/archive/2006/02/21/31820.html</link><dc:creator>Java-XMoses</dc:creator><author>Java-XMoses</author><pubDate>Tue, 21 Feb 2006 08:34:00 GMT</pubDate><guid>http://www.blogjava.net/xmoses/archive/2006/02/21/31820.html</guid><wfw:comment>http://www.blogjava.net/xmoses/comments/31820.html</wfw:comment><comments>http://www.blogjava.net/xmoses/archive/2006/02/21/31820.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/xmoses/comments/commentRss/31820.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xmoses/services/trackbacks/31820.html</trackback:ping><description><![CDATA[Just use the BasicDataSourceFactory,<BR>I will write a snippet of code to test the DBCP. How should I do ?? Hmmm~~~<BR>Let me try and give out a test result.<BR><BR>I am a tester<IMG height=19 src="http://www.blogjava.net/Emoticons/regular_smile.gif" width=19 border=0><img src ="http://www.blogjava.net/xmoses/aggbug/31820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xmoses/" target="_blank">Java-XMoses</a> 2006-02-21 16:34 <a href="http://www.blogjava.net/xmoses/archive/2006/02/21/31820.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Why the select method of JTextArea don't take effect.</title><link>http://www.blogjava.net/xmoses/archive/2006/02/20/31629.html</link><dc:creator>Java-XMoses</dc:creator><author>Java-XMoses</author><pubDate>Mon, 20 Feb 2006 05:32:00 GMT</pubDate><guid>http://www.blogjava.net/xmoses/archive/2006/02/20/31629.html</guid><wfw:comment>http://www.blogjava.net/xmoses/comments/31629.html</wfw:comment><comments>http://www.blogjava.net/xmoses/archive/2006/02/20/31629.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/xmoses/comments/commentRss/31629.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/xmoses/services/trackbacks/31629.html</trackback:ping><description><![CDATA[<P><FONT size=2>In my swing UI, there is JTextArea component named "textarea_webpage", I want to mark some sentence in the textarea as marked using program just as user selecting them using mouse.<BR>------------------------------------------------------------Code Below-------------------------------------------------<BR></FONT><FONT size=2><FONT face="Courier New">textarea_webpage.setSelectionColor(Color.black);<BR>textarea_webpage.setSelectedTextColor(Color.white);<BR>textarea_webpage.setSelectedTextColor(Color.white);<BR>textarea_webpage.select(urlItem.getStart(),urlItem.getEnd()); // the urlItem is self-defined object to store positon information of certain sentences<BR></FONT>----------------------------------------------------------------------------------------------------------------------------<BR><BR>Every time the code is executed, there is nothing take place in my textarea.<BR>After goolge for the answer in the net.<BR>I found that I forgot the code&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT size=2><FONT face="Courier New">textarea_webpage.getCaret().setSelectionVisible(true);<BR></FONT><BR>There are so many tricks in Swing designing, I'm just a beginner.<BR>Pay more attention.<IMG height=19 src="http://www.blogjava.net/Emoticons/regular_smile.gif" width=19 border=0><BR></P></FONT><img src ="http://www.blogjava.net/xmoses/aggbug/31629.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/xmoses/" target="_blank">Java-XMoses</a> 2006-02-20 13:32 <a href="http://www.blogjava.net/xmoses/archive/2006/02/20/31629.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>