锘??xml version="1.0" encoding="utf-8" standalone="yes"?>天堂在线中文资源,中文字幕中文字幕在线中文字幕三区,国产成人精品亚洲日本在线桃色http://www.aygfsteel.com/xmoses/category/7614.htmlJ-XMoseszh-cnWed, 28 Feb 2007 18:06:59 GMTWed, 28 Feb 2007 18:06:59 GMT60The META-INF directory in the JAR filehttp://www.aygfsteel.com/xmoses/archive/2006/03/01/33067.htmlJava-XMosesJava-XMosesWed, 01 Mar 2006 13:39:00 GMThttp://www.aygfsteel.com/xmoses/archive/2006/03/01/33067.htmlhttp://www.aygfsteel.com/xmoses/comments/33067.htmlhttp://www.aygfsteel.com/xmoses/archive/2006/03/01/33067.html#Feedback0http://www.aygfsteel.com/xmoses/comments/commentRss/33067.htmlhttp://www.aygfsteel.com/xmoses/services/trackbacks/33067.htmlThe META-INF directory, if it exists, is used to store package and extension configuration data, including security, versioning, extension and services. The following files/directories in the META-INF directory are recognized and interpreted by the Java 2 Platform to configure applications, extensions, class loaders and services:
MANIFEST.MF
.................
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.
]]>Use the DBCP in Application that running multiple threadshttp://www.aygfsteel.com/xmoses/archive/2006/02/21/31820.htmlJava-XMosesJava-XMosesTue, 21 Feb 2006 08:34:00 GMThttp://www.aygfsteel.com/xmoses/archive/2006/02/21/31820.htmlhttp://www.aygfsteel.com/xmoses/comments/31820.htmlhttp://www.aygfsteel.com/xmoses/archive/2006/02/21/31820.html#Feedback0http://www.aygfsteel.com/xmoses/comments/commentRss/31820.htmlhttp://www.aygfsteel.com/xmoses/services/trackbacks/31820.htmlI will write a snippet of code to test the DBCP. How should I do ?? Hmmm~~~ Let me try and give out a test result.
]]>Why the select method of JTextArea don't take effect.http://www.aygfsteel.com/xmoses/archive/2006/02/20/31629.htmlJava-XMosesJava-XMosesMon, 20 Feb 2006 05:32:00 GMThttp://www.aygfsteel.com/xmoses/archive/2006/02/20/31629.htmlhttp://www.aygfsteel.com/xmoses/comments/31629.htmlhttp://www.aygfsteel.com/xmoses/archive/2006/02/20/31629.html#Feedback1http://www.aygfsteel.com/xmoses/comments/commentRss/31629.htmlhttp://www.aygfsteel.com/xmoses/services/trackbacks/31629.htmlIn 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. ------------------------------------------------------------Code Below------------------------------------------------- textarea_webpage.setSelectionColor(Color.black); textarea_webpage.setSelectedTextColor(Color.white); textarea_webpage.setSelectedTextColor(Color.white); textarea_webpage.select(urlItem.getStart(),urlItem.getEnd()); // the urlItem is self-defined object to store positon information of certain sentences ----------------------------------------------------------------------------------------------------------------------------
Every time the code is executed, there is nothing take place in my textarea. After goolge for the answer in the net. I found that I forgot the code textarea_webpage.getCaret().setSelectionVisible(true);
There are so many tricks in Swing designing, I'm just a beginner. Pay more attention.