<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.javaworld.com/community" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Java Q&amp;amp;A</title>
 <link>http://www.javaworld.com/community/taxonomy/term/860</link>
 <description>Taxonomy in convenient list form</description>
 <language>en</language>
<item>
 <title>Combobox change combobox which adds text in textArea</title>
 <link>http://www.javaworld.com/community/node/8265</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi, I have been scratching my head for a couple of hours wondering why my Japplet isnt working. The problem is, the second time I select the first combobox, the second combobox does not update its content and hangs. I am not sure where its looping to and have tried to trace it out. The code is as follows.&lt;/p&gt;
&lt;p&gt;public class brake extends JApplet implements ActionListener {&lt;/p&gt;
&lt;p&gt;	JComboBox state, traintype;&lt;br /&gt;
	Container c;&lt;/p&gt;
&lt;p&gt;	String[] sNSW = { &quot;Select&quot;, &quot;Titan&quot;, &quot;HMT&quot; };&lt;br /&gt;
    String[] sVIC = { &quot;Select&quot;, &quot;Nokia&quot;, &quot;Sony&quot; };&lt;/p&gt;
&lt;p&gt;TextArea display = new TextArea(10, 80);&lt;br /&gt;
String str; &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8265&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2360">combox</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2363">event listener</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2362">multiple</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2361">textarea</category>
 <pubDate>Wed, 28 Dec 2011 06:31:01 -0500</pubDate>
 <dc:creator>danger_dave</dc:creator>
 <guid isPermaLink="false">8265 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Problem with back button </title>
 <link>http://www.javaworld.com/community/node/8250</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Your Application logoutSampleJSP3 working fine. But am facing small problem.&lt;/p&gt;
&lt;p&gt;When i am login in to the application then i am getting home page. OK this is fine.  But my problem is in home page am clicking back button then it will &lt;/p&gt;
&lt;p&gt;show again  login page without logout. So please solve this problem as soon as possible.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
satish.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/enterprise&quot; class=&quot;og_links&quot;&gt;Enterprise Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <pubDate>Fri, 16 Dec 2011 05:09:32 -0500</pubDate>
 <dc:creator>satish_ravula</dc:creator>
 <guid isPermaLink="false">8250 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Database data doesn&#039;t fill into JTable</title>
 <link>http://www.javaworld.com/community/node/8244</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I&#039;ve been working on this code for couple of days. My procedure on the database works fine but it doesn&#039;t fill into the table. I&#039;m going through the code again and again but I can&#039;t find what&#039;s wrong... The error I get is: JavaNullPointerException and the line involving is the piece of code that returns notes.length. Here&#039;s a piece of my code:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
private Object[][] notes = null;&lt;br /&gt;
setUpStatusColumn(noteTable, noteTable.getColumnModel().getColumn(2));&lt;/p&gt;
&lt;p&gt;protected JTable createTable(GradesModel gradesModel) {&lt;br /&gt;
        return new JTable(gradesModel);&lt;br /&gt;
    } &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8244&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2357">abstracttablemodel</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2356">jtable</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2358">nullpointer</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Tue, 13 Dec 2011 02:09:07 -0500</pubDate>
 <dc:creator>neocorp</dc:creator>
 <guid isPermaLink="false">8244 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>read inputstream works in office, not at home</title>
 <link>http://www.javaworld.com/community/node/8242</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I use NetBeans both at work and at home, v7.0.1. Recently, I developed a small program using HttpURLConnection to read web page and process the contents. It works fine in my office, but not at home! In the office, the whole html code is listed. At home, it stopped in the middle with socket reset or freeze forever. After many testing, I summarize my finding here:&lt;/p&gt;
&lt;p&gt;With higher chance (but not always) of success:&lt;br /&gt;
1. use read(byteArray, offset, length)&lt;br /&gt;
2. use byteArray size = inputStream length&lt;br /&gt;
3. write the byteArray to file immediately&lt;br /&gt;
4. small inputStream size (e.g web page small) &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8242&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <pubDate>Sun, 11 Dec 2011 22:26:59 -0500</pubDate>
 <dc:creator>senderj</dc:creator>
 <guid isPermaLink="false">8242 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Character.reverseBytes error!</title>
 <link>http://www.javaworld.com/community/node/8233</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hello,&lt;br /&gt;
I have written some code to encrypt the contents of a textfile by using the method Character.reverseBytes as shown below:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
    try {&lt;br /&gt;
        reader = new BufferedReader(new FileReader(file));&lt;br /&gt;
        writer = new BufferedWriter(new FileWriter(outfile));&lt;br /&gt;
        String text = &quot;&quot;;&lt;br /&gt;
        // repeat until all lines are read&lt;br /&gt;
        while ((text = reader.readLine()) != null) {&lt;br /&gt;
            String reverseText = &quot;&quot;;&lt;br /&gt;
            for (int i=0; i &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8233&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Thu, 01 Dec 2011 10:53:19 -0500</pubDate>
 <dc:creator>stratosb</dc:creator>
 <guid isPermaLink="false">8233 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How to manage a dbms with multimedia content in java - jdbc(client /server)</title>
 <link>http://www.javaworld.com/community/node/8208</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I am an old timer from the 90s so java7 is a bit of a shock to me as ima an SCJP for java 2 platform from 2000.&lt;/p&gt;
&lt;p&gt;Please suggest the best way to manage a multimedia databse containg (*.jpg and *.au) files in a DBMS or RDBMS using JDBC for both client(Standalone java application) and server side(Servlets).&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/enterprise&quot; class=&quot;og_links&quot;&gt;Enterprise Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/883">Agile/Lean/XP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/832">AJAX, RIA and Web 2.0</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/840">Application Servers</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/835">Architecture and Scalability</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/824">Client-side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/882">Community Update</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/881">Current stuff</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/843">Data Management and RDBMS</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/836">Enterprise Best Practices</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/831">Java and XML</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/859">Java Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/838">Java Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/839">Java IDEs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/837">Java ME</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/822">Java Security</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/884">Java Tip</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/862">Java Traps</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/865">JavaWorld Archives</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2343">JDBC programming using binary streams for BLOBs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/841">Open Source Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/842">Scripting and Other Languages</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/863">Server-Side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/845">Software Development Lifecycle</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/846">Software Development Methodologies</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/854">Software Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/855">Testing and Debugging</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/827">Threads/Concurrency</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/864">Under the Hood</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/844">Web Application Frameworks</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/833">Web Services and SOA</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <pubDate>Mon, 07 Nov 2011 09:54:46 -0500</pubDate>
 <dc:creator>arunrajp</dc:creator>
 <guid isPermaLink="false">8208 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How do I access the POI Jakarta?</title>
 <link>http://www.javaworld.com/community/node/8134</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi, I&#039;m trying to write a program that needs to access excel&lt;/p&gt;
&lt;p&gt;I&#039;ve never worked with POI Jakarta before and I do not know how to import correctly&lt;/p&gt;
&lt;p&gt;I downloaded poi-src3.8beta file and unzipped it and it spits out a folder.&lt;/p&gt;
&lt;p&gt;what do i do with this?&lt;/p&gt;
&lt;p&gt;I tried to import using statements&lt;br /&gt;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;&lt;br /&gt;
import org.apache.poi.hssf.usermodel.HSSFSheet;&lt;br /&gt;
import org.apache.poi.hssf.usermodel.HSSFRow;&lt;br /&gt;
import org.apache.poi.hssf.usermodel.HSSFCell;&lt;/p&gt;
&lt;p&gt;but none of them seem to work. &lt;/p&gt;
&lt;p&gt;how do i address this issue?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Wed, 21 Sep 2011 15:16:57 -0400</pubDate>
 <dc:creator>yjs1210</dc:creator>
 <guid isPermaLink="false">8134 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Newbie System.out.println</title>
 <link>http://www.javaworld.com/community/node/8007</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi guys,&lt;/p&gt;
&lt;p&gt;I’m Nick I’ve just joined the forum. Just wanted to say hello. I am pretty new to Java but have been teaching myself using books and the eclipse IDE. I know quite a lot about the syntax now and can write some pretty simple classes. I think I also understand classes, interfaces, inheritance and so on pretty well so think I’m well on my way. &lt;/p&gt;
&lt;p&gt;The thing I’m wondering is what the ‘out’ refers in: system.out.println(“something”) &lt;/p&gt;
&lt;p&gt;Usually you will have:&lt;br /&gt;
SomeClass.someMethod()&lt;br /&gt;
or&lt;br /&gt;
SomeClass.someMethod().someSubMethod().someSubMethod() etc… &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/8007&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2293">Newbie  java.lang  System.out.println</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Mon, 20 Jun 2011 09:10:25 -0400</pubDate>
 <dc:creator>eclipse007</dc:creator>
 <guid isPermaLink="false">8007 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>JavaOne 2011</title>
 <link>http://www.javaworld.com/community/node/7625</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;My development team is largely Java based. I am aware of Devoxx and would hope to attend next year, but what are the other conferences that would be useful for my requirements?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/mobile&quot; class=&quot;og_links&quot;&gt;Mobile Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/883">Agile/Lean/XP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/832">AJAX, RIA and Web 2.0</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/840">Application Servers</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/835">Architecture and Scalability</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/824">Client-side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/882">Community Update</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/843">Data Management and RDBMS</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/836">Enterprise Best Practices</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/89">java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/831">Java and XML</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/859">Java Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/838">Java Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/839">Java IDEs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/837">Java ME</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/822">Java Security</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/884">Java Tip</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/862">Java Traps</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/33">javaone</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/865">JavaWorld Archives</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/19">mysql</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/841">Open Source Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/463">Oracle</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/379">Python</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/842">Scripting and Other Languages</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/863">Server-Side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/845">Software Development Lifecycle</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/846">Software Development Methodologies</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/854">Software Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/855">Testing and Debugging</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/827">Threads/Concurrency</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/864">Under the Hood</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/844">Web Application Frameworks</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/833">Web Services and SOA</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <pubDate>Tue, 19 Apr 2011 03:05:52 -0400</pubDate>
 <dc:creator>t3chno</dc:creator>
 <guid isPermaLink="false">7625 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>how to insert system.out.println into each and every method of every class in a java project</title>
 <link>http://www.javaworld.com/community/node/7604</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I have a set of class and doesnt have a debugger to debug the application. Hence i want to insert SOP into each and every method so that it will be easier for me to trace the code flow for any activity.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/855">Testing and Debugging</category>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Mon, 11 Apr 2011 01:35:16 -0400</pubDate>
 <dc:creator>dmvsatyakumar</dc:creator>
 <guid isPermaLink="false">7604 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>JUSB</title>
 <link>http://www.javaworld.com/community/node/7593</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;please give me all step to run or install jusb api on ubuntu&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2237">jusb</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Wed, 06 Apr 2011 11:51:40 -0400</pubDate>
 <dc:creator>adeel809</dc:creator>
 <guid isPermaLink="false">7593 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>JMS Custom message ordering </title>
 <link>http://www.javaworld.com/community/node/7583</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;JMS Question:- Is there any way to change the messages order in JMSQUEUE based on custom rule/policy/strategy? Other then FIFO..&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/enterprise&quot; class=&quot;og_links&quot;&gt;Enterprise Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <pubDate>Fri, 01 Apr 2011 06:54:19 -0400</pubDate>
 <dc:creator>abhishekchouhan</dc:creator>
 <guid isPermaLink="false">7583 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>QCon or Javaone ????</title>
 <link>http://www.javaworld.com/community/node/7528</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;My company allows me to visit one international work related (I&#039;m Java/JEE Developer/Technical Lead interested in polyglot programming) conference each year. I&#039;ve visited Javapolis (devox) in the past.&lt;br /&gt;
For this year I&#039;m looking for a conference which is less technology but a bit more methodology focussed... possible like Oracle Develop or QCon or Javaone What would you recommend?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/883">Agile/Lean/XP</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/832">AJAX, RIA and Web 2.0</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/840">Application Servers</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/835">Architecture and Scalability</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/824">Client-side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/882">Community Update</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/965">conference</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/881">Current stuff</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/843">Data Management and RDBMS</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/825">Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/836">Enterprise Best Practices</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/89">java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/831">Java and XML</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/859">Java Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/838">Java Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/839">Java IDEs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/837">Java ME</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/822">Java Security</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/884">Java Tip</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/862">Java Traps</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/33">javaone</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/865">JavaWorld Archives</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2215">jee</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/841">Open Source Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/123">programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2214">Qcon</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/842">Scripting and Other Languages</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/863">Server-Side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/845">Software Development Lifecycle</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/846">Software Development Methodologies</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/854">Software Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2216">sun microtec</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/855">Testing and Debugging</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/827">Threads/Concurrency</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/864">Under the Hood</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/844">Web Application Frameworks</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/833">Web Services and SOA</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Thu, 24 Mar 2011 05:04:55 -0400</pubDate>
 <dc:creator>lisaantony06</dc:creator>
 <guid isPermaLink="false">7528 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Java challenge!</title>
 <link>http://www.javaworld.com/community/node/7493</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have been given the following challenge:&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
Write a Base64 encoder/decoder in Java for me in two ways:&lt;/p&gt;
&lt;p&gt;1) Using an existing Base64 library routine&lt;br /&gt;
2) From scratch, using string/character/byte manipulation.&lt;/p&gt;
&lt;p&gt;I&#039;d like a unix-style command line program (with the obvious issue that it&#039;s actually running via Java, but I&#039;ll not worry about that detail), and I&#039;d like it to take the following parameters:&lt;/p&gt;
&lt;p&gt;-v = display version&lt;br /&gt;
-? = display some help on how to use the program&lt;/p&gt;
&lt;p&gt;-e = encode&lt;br /&gt;
-d = decode &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/7493&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <pubDate>Mon, 07 Mar 2011 05:08:30 -0500</pubDate>
 <dc:creator>FirePhoenix</dc:creator>
 <guid isPermaLink="false">7493 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>new to programming</title>
 <link>http://www.javaworld.com/community/node/7479</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;hello board. i am new here with 0% knowledge of programming but i am eager to learn. i have been doing research and trying to find a book that will fit my need. I want to start making simple games for Android. i have an idea for a game but requires the game to talk and you have to repeat to get to the next level. it&#039;s a learning game. what links or videos i can research on to make this happen?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/mobile&quot; class=&quot;og_links&quot;&gt;Mobile Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2159">hello board</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/838">Java Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <pubDate>Tue, 01 Mar 2011 15:15:40 -0500</pubDate>
 <dc:creator>eddie79</dc:creator>
 <guid isPermaLink="false">7479 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Cannot get TransferHandler to work in Swing</title>
 <link>http://www.javaworld.com/community/node/7153</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I have created a Swing application and I&#039;m trying to configure Drag and Drop support for a JTextArea.  There are two capabilities I need for this object, I want it to accept text pasted into it from the clipboard and I also want to accept files dropped onto the object, grab the file name and then send that to another routine which will open the file, read the contents, and perform some work.&lt;/p&gt;
&lt;p&gt;However, I cannot even get past first base on this.  I have created a class of transferhandler as follows:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;br /&gt;
class FileDropHandler extends TransferHandler { &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/7153&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2150">Swing Transferhandler</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <pubDate>Sun, 30 Jan 2011 13:00:25 -0500</pubDate>
 <dc:creator>pbpersson</dc:creator>
 <guid isPermaLink="false">7153 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Does garbage collection occurs in PERM Area of Java Heap ?</title>
 <link>http://www.javaworld.com/community/node/7032</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;I am a relative new member in this forum , My name is Javin Paul and I am Java programmer. I have question related to garbage collection in Java &lt;/p&gt;
&lt;p&gt;Does garbage collection occurs in PERM Area of Java Heap ?&lt;/p&gt;
&lt;p&gt;As per my knowledge PERM area is used to store meta data about classes, methods , variable etc also String Pool created in PERM area of heap so I believe  garbage collection does not occur in this place but just wanted to know what do you guys think of it ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Javin&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/822">Java Security</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Fri, 21 Jan 2011 22:43:22 -0500</pubDate>
 <dc:creator>javabuddy</dc:creator>
 <guid isPermaLink="false">7032 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Help developing a Java App that requires Image reader capabilities</title>
 <link>http://www.javaworld.com/community/node/5791</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am planning to develop an application which does the following.&lt;/p&gt;
&lt;p&gt;Problem description:- In my college I see a lot of postings on the notice board regarding various Tech events,distinguished lectures and others. We need to note down the info in a diary ( or may be store it as an appointment in the mobile phone) since there are no remainders for those notices.&lt;/p&gt;
&lt;p&gt;Solution:- &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/5791&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/mobile&quot; class=&quot;og_links&quot;&gt;Mobile Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2090">image parsing</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2089">java app</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/837">Java ME</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/2091">java mobile app</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <pubDate>Wed, 10 Nov 2010 02:49:11 -0500</pubDate>
 <dc:creator>srikkan</dc:creator>
 <guid isPermaLink="false">5791 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Automated File Transfer Tool with Java APIs</title>
 <link>http://www.javaworld.com/community/node/5110</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are there any automated file transfer tools available in the market which provide Java APIs? We are using JDK 1.4. &lt;/p&gt;
&lt;p&gt;I wanted to know if there are any such tools available so that they can be integrated into our application code.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Shridhar&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1855">Automated File Transfer Tool</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/841">Open Source Tools</category>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Mon, 13 Sep 2010 00:07:34 -0400</pubDate>
 <dc:creator>vShridharv</dc:creator>
 <guid isPermaLink="false">5110 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How to extract Context-params from web.xml into POJOs?</title>
 <link>http://www.javaworld.com/community/node/5055</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I have information regarding the DB connection params stored in the web.xml file. I am connecting to the DB from a POJO (used as the DAO). Is there a way to extract the context-params from the web.xml file in the POJO?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/enterprise&quot; class=&quot;og_links&quot;&gt;Enterprise Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1831">context-params</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1829">POJO</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1830">web.xml</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <pubDate>Sat, 04 Sep 2010 17:27:58 -0400</pubDate>
 <dc:creator>indianapple89</dc:creator>
 <guid isPermaLink="false">5055 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Java&#039;s TimeZone and Calendar classes not working correctly for me</title>
 <link>http://www.javaworld.com/community/node/5051</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;So, I was given some data in UTC time, and needed to convert it to Pacific Standard Time (well, technically Pacific Daylight Time now.)  I did this like so:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;		//given in UTC - this needs to be converted to local time&lt;br /&gt;
		GregorianCalendar current = new GregorianCalendar(TimeZone.getTimeZone(&quot;UTC&quot;));&lt;br /&gt;
		current.set(year, monthInt, day, hour, min, sec);&lt;/p&gt;
&lt;p&gt;		//convert from UTC to PST&lt;br /&gt;
		cal = new GregorianCalendar(TimeZone.getTimeZone(&quot;America/Los_Angeles&quot;));&lt;br /&gt;
		cal.setTimeInMillis(current.getTimeInMillis());&lt;/p&gt;
&lt;p&gt;		//reset the fields - have changed now that timezone has changed &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/5051&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1827">Calendar</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1828">GregorianCalendar</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1826">TimeZone</category>
 <pubDate>Fri, 03 Sep 2010 15:53:51 -0400</pubDate>
 <dc:creator>kiwiyogurt</dc:creator>
 <guid isPermaLink="false">5051 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Connecting to MySQL 4.1 over the a LAN</title>
 <link>http://www.javaworld.com/community/node/5033</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;I&#039;ve installed mysql 4.1 to windows XP pc and my java swing application running in another windows xp machine.So I need to connect Mysql Database to  my swing application...Its already working correctly when I installed mysql in my local pc and write a code as bellow.&lt;/p&gt;
&lt;p&gt;public class DB {&lt;br /&gt;
private static  Connection con;&lt;br /&gt;
public static Connection connect()throws Exception{&lt;br /&gt;
    Class.forName(&quot;com.mysql.jdbc.Driver&quot;).newInstance();&lt;br /&gt;
    String url=&quot;jdbc:mysql://localhost:3306/ecal&quot;;&lt;br /&gt;
    con=DriverManager.getConnection(url,&quot;root&quot;,&quot;sa&quot;);&lt;br /&gt;
    return con;&lt;br /&gt;
}&lt;br /&gt;
} &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/5033&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/tools&quot; class=&quot;og_links&quot;&gt;Tools and Methods&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1820">Connecting to MySQL 4.1 over the a LAN</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Wed, 01 Sep 2010 04:03:08 -0400</pubDate>
 <dc:creator>iranga</dc:creator>
 <guid isPermaLink="false">5033 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Bean Scripting Framework Question</title>
 <link>http://www.javaworld.com/community/node/4775</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can someone who knows about Jakarta BSF project help me on this :&lt;/p&gt;
&lt;p&gt;I am trying to run a jython script from java. Ive created a BSFManager and i can execute the script with its &quot;exec&quot; method. However i have modified the script to accept arguments (sys.argv[1]). How can i pass arguments from within BSFManager and how can i capture its output? I think there is a method &quot;apply&quot; which does this but i don&#039;t understand how to use it.&lt;/p&gt;
&lt;p&gt;I want to pass to my script a String argument and get back a String result&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/discussion&quot; class=&quot;og_links&quot;&gt;Community Discussion&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/842">Scripting and Other Languages</category>
 <group domain="http://www.javaworld.com/community/discussion">Community Discussion</group>
 <pubDate>Thu, 29 Jul 2010 05:50:49 -0400</pubDate>
 <dc:creator>nklea01</dc:creator>
 <guid isPermaLink="false">4775 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>core java</title>
 <link>http://www.javaworld.com/community/node/4585</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Can you tell any bad example of Inheritance?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/856">Design Techniques</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1733">inheritance</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/859">Java Design Patterns</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/862">Java Traps</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/865">JavaWorld Archives</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/863">Server-Side Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/846">Software Development Methodologies</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/864">Under the Hood</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Wed, 07 Jul 2010 10:23:45 -0400</pubDate>
 <dc:creator>rohitsi</dc:creator>
 <guid isPermaLink="false">4585 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>About Random class</title>
 <link>http://www.javaworld.com/community/node/4578</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I want to know that the java Random class is based on the Monte Carlo algorithm and if not implementation about this algorithm using java.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li  class=&quot;first last og_links&quot;&gt;&lt;a href=&quot;/community/corejava&quot; class=&quot;og_links&quot;&gt;Core Java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/860">Java Q&amp;amp;A</category>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <pubDate>Tue, 06 Jul 2010 02:05:26 -0400</pubDate>
 <dc:creator>praneeta</dc:creator>
 <guid isPermaLink="false">4578 at http://www.javaworld.com/community</guid>
</item>
</channel>
</rss>

