<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>特投网 - Java</title>
    <link>https://www.tetou.cn/forum-74-1.html</link>
    <description>Latest 20 threads of Java</description>
    <copyright>Copyright(C) 特投网</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 21 Apr 2026 11:58:26 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.tetou.cn/static/image/common/logo_88_31.gif</url>
      <title>特投网</title>
      <link>https://www.tetou.cn/</link>
    </image>
    <item>
      <title>Date、String、Calendar类型之间的转化</title>
      <link>https://www.tetou.cn/thread-1247-1-1.html</link>
      <description><![CDATA[1.Calendar 转化 String 
 //获取当前时间的具体情况,如年,月,日,week,date,分,秒等 
        Calendar calendat = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(\&quot;yyyy-MM-dd\&quot;);
String dateStr = sdf.format(calendar.getTime());


2.String ...]]></description>
      <category>Java</category>
      <author>tetou</author>
      <pubDate>Mon, 08 Feb 2016 10:06:25 +0000</pubDate>
    </item>
    <item>
      <title>JScrollPane + JTable 自动滚动到最底部</title>
      <link>https://www.tetou.cn/thread-1246-1-1.html</link>
      <description><![CDATA[第一次使用JScrollPane+JTable的时候就碰到了这个常见的问题：如何让表格自动滚动到最底部？我的实现代码如下，当需要向表格中添加数据的时候，调用此代码段：

        int rowCount=mTab.getRowCount();
        mTab.getSelectionModel().setSelectionInterv ...]]></description>
      <category>Java</category>
      <author>tetou</author>
      <pubDate>Mon, 08 Feb 2016 10:04:00 +0000</pubDate>
    </item>
    <item>
      <title>ArrayList:插入与删除元素操作</title>
      <link>https://www.tetou.cn/thread-1244-1-1.html</link>
      <description><![CDATA[List list = new ArrayList(5);  
//----添加元素  
list.add(\&quot;hehe\&quot;);  
list.add(0,\&quot;heihei\&quot;); //在指定的index之前插入元素  
list.add(list.size(), \&quot;lastElement\&quot;); //在最后一个元素之后插入元素  

//------删除:找对象;找下标  
list.remove(\&quot;hehe\&quot;); //找对象  ...]]></description>
      <category>Java</category>
      <author>tetou</author>
      <pubDate>Mon, 08 Feb 2016 10:00:17 +0000</pubDate>
    </item>
  </channel>
</rss>