<?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 Beginner</title>
 <link>http://www.javaworld.com/community/beginner</link>
 <description>Where Java beginners become Java masters.</description>
 <language>en-US</language>
<item>
 <title>ActionEvent constructor</title>
 <link>http://www.javaworld.com/community/node/3569</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hello. I am a Java beginner and was wondering where I could find the constructor for the ActionEvent class, since I am learning about button events. I want to know what an object of ActionEvent class does in response to the button click on an applet.&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/3569#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/828">Swing/GUI Programming</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Sun, 18 Oct 2009 15:31:53 -0400</pubDate>
 <dc:creator>VonQ</dc:creator>
 <guid isPermaLink="false">3569 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Decode a g721 audio stream with java</title>
 <link>http://www.javaworld.com/community/node/3537</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For the purpose of a project, I need to capture a live feed from a Panasonic BL C131 IP cam. The video is encoded either in MPEG4 or in MJPEG, and I can manage to get and display the stream. The sound stream in the other hand is encoded in g721 (now superseded by g726 - 32kbits/s - 8Khz - 4 bits of quantification), and I don&#039;t how to decode it. Has anyone already struggled with this issue ? I&#039;m opened to suggestions and/or solutions. Thanks.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ariel&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>
 <comments>http://www.javaworld.com/community/node/3537#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Wed, 14 Oct 2009 05:09:21 -0400</pubDate>
 <dc:creator>xmen</dc:creator>
 <guid isPermaLink="false">3537 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Comm api 2.0 - CommPortIdentifier.getPortIdentifiers() returns empty enum </title>
 <link>http://www.javaworld.com/community/node/3486</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi,&lt;br /&gt;
I&#039;m trying to open connetion with my GSM modem which it connected to my PC by RS-232 cable.&lt;br /&gt;
I&#039;m trying to run my program on Windows XP.&lt;br /&gt;
But, when i&#039;m running the following piece of code, the enumeration return empty.&lt;br /&gt;
How it can be solved?&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Enumeration en = CommPortIdentifier.getPortIdentifiers();&lt;br /&gt;System.out.println(en);&lt;br /&gt;&lt;br /&gt;// Iterate through the ports.&lt;br /&gt;while (en.hasMoreElements()) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; portId = (CommPortIdentifier) en.nextElement();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(portId.getName());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/code&gt;&lt;/div&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>
 <comments>http://www.javaworld.com/community/node/3486#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1494">Comm API 2.0</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Wed, 30 Sep 2009 13:14:24 -0400</pubDate>
 <dc:creator>eyalm_nm</dc:creator>
 <guid isPermaLink="false">3486 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Event Reservation Problem</title>
 <link>http://www.javaworld.com/community/node/3369</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Dear Users.&lt;/p&gt;
&lt;p&gt;I am doing a online Conference Hall booking system with JSP and MySql. I have the following problem when I (as Admin) am going to approve the some event on Same date(2009-08-29).&lt;/p&gt;
&lt;p&gt;My application is to reserve a room by entering start time, end time and date before reserving I need to check the availability in the database.&lt;br /&gt;
When i&#039;m requesting reserving by entering(selecting) startime as 17.30 and end time as 20.00 on a particular date(2009-08-29), &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/3369&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>
 <comments>http://www.javaworld.com/community/node/3369#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Mon, 31 Aug 2009 06:27:26 -0400</pubDate>
 <dc:creator>prasath_arjunan</dc:creator>
 <guid isPermaLink="false">3369 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Problem with euro symbol with Tomcat and MySql</title>
 <link>http://www.javaworld.com/community/node/3284</link>
 <description>Good day.

I have a big problem regarding the euro symbol between Tomcat and MySql.
I made a jsp page having a form that contains a textarea.
In it I digit the euro symbol.
The action of a form call a Tomcat&#039;s servlet that read a value of the field and write it in a MySql&#039;s table via jdbc.
The problem is that in the database the euro symbol is written as ? (question mark).

The environment is a Linux in english with Tomcat 6.0.10 and MySql 5.0.18. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/3284&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&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>
 <comments>http://www.javaworld.com/community/node/3284#comments</comments>
 <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/863">Server-Side Java</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Thu, 06 Aug 2009 17:02:08 -0400</pubDate>
 <dc:creator>serrani</dc:creator>
 <guid isPermaLink="false">3284 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Core Java Design Problem</title>
 <link>http://www.javaworld.com/community/node/3211</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am stuck with this java design problem and need your help on this.&lt;/p&gt;
&lt;p&gt;#####################################################&lt;br /&gt;
A diamond has 3 attributes and possible values as&lt;/p&gt;
&lt;p&gt;Clarity (Y1, Y2, Y3 ......... Y25)&lt;br /&gt;
Color (C1, C2, C3 ......... C9)&lt;br /&gt;
Carat (T1, T2, T3 ......... T50)&lt;/p&gt;
&lt;p&gt;A diamond company deals in diamonds and has definite clients who purchase diamonds from this company. &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/3211&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>
 <comments>http://www.javaworld.com/community/node/3211#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1384">Core Java Design Problem</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Thu, 16 Jul 2009 05:35:30 -0400</pubDate>
 <dc:creator>chat2anuj</dc:creator>
 <guid isPermaLink="false">3211 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>JSP Thumbnail View</title>
 <link>http://www.javaworld.com/community/node/3018</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I&#039;m working on a photo gallery application in JSP and have encountered a problem trying to create thumbnails from large photos.&lt;/p&gt;
&lt;p&gt;Basically I&#039;m trying to create thumbnail images on the fly(image file should not save to the hard disk) to serve up to the users via the JSP script.&lt;/p&gt;
&lt;p&gt;Is it possible to do in jsp(with html)?&lt;br /&gt;
Does anybody has idea or source? Please let me know.&lt;/p&gt;
&lt;p&gt;Thanks in Advance,&lt;/p&gt;
&lt;p&gt;V. Prasath.&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/3018#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Tue, 02 Jun 2009 01:11:39 -0400</pubDate>
 <dc:creator>prasath_arjunan</dc:creator>
 <guid isPermaLink="false">3018 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Java Online Source Library</title>
 <link>http://www.javaworld.com/community/node/2928</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Recommend one Java online source code resource website:&lt;br /&gt;
  &lt;a href=&quot;http://www.techq.com&quot;&gt;http://www.techq.com&amp;gt;&lt;/a&gt;&lt;br /&gt;
Including JDK, Spring, Struts, WebWork and many open source code.&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>
 <comments>http://www.javaworld.com/community/node/2928#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1304">java source code online</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Sun, 10 May 2009 23:56:45 -0400</pubDate>
 <dc:creator>ruochang</dc:creator>
 <guid isPermaLink="false">2928 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Method chaining question</title>
 <link>http://www.javaworld.com/community/node/2897</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;In this example:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;object.method1().method2().method3();&lt;/code&gt;&lt;/div&gt;   &lt;/p&gt;
&lt;p&gt;What gets evaluated first? Does method 2 use what method 1 returned first for its calculation, or does method 3 return what method 2 returns for its calculation and then evaluate the first method based on what that returned?&lt;/p&gt;
&lt;p&gt;If the question is not clear I will clarify.&lt;/p&gt;
&lt;p&gt;Thanks, Von&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/2897#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1291">Method chaining question</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Mon, 04 May 2009 19:02:16 -0400</pubDate>
 <dc:creator>VonQ</dc:creator>
 <guid isPermaLink="false">2897 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>The CookieStore</title>
 <link>http://www.javaworld.com/community/node/2778</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I just stumbled upon this keyword when i was searching&lt;br /&gt;
the .net api for Java SE 6 thought it was fun to read&lt;/p&gt;
&lt;p&gt;java.net&lt;/p&gt;
&lt;p&gt;Interface CookieStore&lt;/p&gt;
&lt;p&gt;public interface CookieStore&lt;/p&gt;
&lt;p&gt;A CookieStore object represents a storage for cookie. Can store and retrieve cookies.&lt;/p&gt;
&lt;p&gt;CookieManager will call CookieStore.add to save cookies for every incoming HTTP response, and call CookieStore.get to retrieve cookie for every outgoing HTTP request. A CookieStore is responsible for removing HttpCookie instances which have expired. &lt;/p&gt;
&lt;p&gt;Think about it how many times have you tried to eat a cookie and never&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>
 <comments>http://www.javaworld.com/community/node/2778#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1241">Java . net</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Mon, 13 Apr 2009 09:18:53 -0400</pubDate>
 <dc:creator>lemon3_82</dc:creator>
 <guid isPermaLink="false">2778 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Prefix and Postfix operator question</title>
 <link>http://www.javaworld.com/community/node/2728</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;There doesn&#039;t seem to be any difference in the output when I change the prefix to the postfix operator for the following code:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;public class inc&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;public static void main(String[]args)throws Exception&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;for(int val=1; val&amp;lt; 11; val++) //when I change it to ++val the output is the &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //same&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;System.out.println(val);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Why use one or the other if there is no difference in output?&lt;/p&gt;
&lt;p&gt;Thank you from Von, a struggling Java student&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/2728#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/858">Java 101</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1228">prefix and postfix operators</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Wed, 01 Apr 2009 20:37:19 -0400</pubDate>
 <dc:creator>VonQ</dc:creator>
 <guid isPermaLink="false">2728 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Instantiating object in main method</title>
 <link>http://www.javaworld.com/community/node/2657</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;This is a really, really dumb question but I&#039;m trying to wrap my mind around why all my beginner java books use the main method to instantiate objects of a different class than the one it is being instantiated in, such as the one below. I&#039;ve tested it and know it works but why don&#039;t I ever see it in the books? Is there a drawback to creating a new object of the same object that you are in?&lt;/p&gt;
&lt;p&gt;Thanks, Von and sorry if this is a crazy question!!!!!!&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/p&gt;
&lt;p&gt;public class TestClass&lt;br /&gt;
int id = 6;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;    public static void main(String[] args)&lt;/p&gt;
&lt;p&gt;     { &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/2657&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/2657#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1198">object instantiation within main method</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Mon, 23 Mar 2009 17:10:13 -0400</pubDate>
 <dc:creator>VonQ</dc:creator>
 <guid isPermaLink="false">2657 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Convert vector image to XML</title>
 <link>http://www.javaworld.com/community/node/2633</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I need to convert a vector image to XML and also to convert XML data to a vector image in the back end.&lt;/p&gt;
&lt;p&gt;Can someone advice me and help me about how to do that?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&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>
 <comments>http://www.javaworld.com/community/node/2633#comments</comments>
 <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>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <pubDate>Thu, 19 Mar 2009 01:37:27 -0400</pubDate>
 <dc:creator>Thanushka</dc:creator>
 <guid isPermaLink="false">2633 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Predictive text (Cell phone)</title>
 <link>http://www.javaworld.com/community/node/2482</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&lt;code&gt;&lt;br /&gt;
[code]import java.io.*;&lt;br /&gt;
import java.util.*;&lt;/p&gt;
&lt;p&gt;class HomeWork1{&lt;br /&gt;
 static String[]list = new String[100];&lt;br /&gt;
 public static void main(String[] args)throws IOException{&lt;/p&gt;
&lt;p&gt; Scanner in = new Scanner (new FileReader(&quot;input.txt&quot;));&lt;br /&gt;
 PrintWriter out = new PrintWriter (new FileWriter(&quot;output.txt&quot;));&lt;/p&gt;
&lt;p&gt; String []num = new String[100];&lt;br /&gt;
  int z = 0;&lt;br /&gt;
   String str = in.next();&lt;/p&gt;
&lt;p&gt;      while(!(str.equals(&quot;$$$$&quot;))){&lt;br /&gt;
       list[z] = str;&lt;br /&gt;
       num[z] = getWord(str);&lt;br /&gt;
       z++;&lt;br /&gt;
       str = in.next();&lt;br /&gt;
      }&lt;/p&gt;
&lt;p&gt; insertionSort(list,0,z);&lt;br /&gt;
for(int i = 0; i &amp;lt; z; i++){ &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/2482&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>
 <comments>http://www.javaworld.com/community/node/2482#comments</comments>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/mobile">Mobile Java</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Sat, 21 Feb 2009 06:49:03 -0500</pubDate>
 <dc:creator>cyrow</dc:creator>
 <guid isPermaLink="false">2482 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Cannot compile Java Class.</title>
 <link>http://www.javaworld.com/community/node/2431</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I have installed java into D:/Program Files/Java&lt;br /&gt;
I opened the command prompt.Reached C:\.&lt;br /&gt;
I have a Test.java file in C:\.&lt;br /&gt;
Now when i run the command javac Test.java , it throws and error saying javac not found.&lt;/p&gt;
&lt;p&gt;I copied the same Test.java to D:\.&lt;br /&gt;
In the cmd prompt i set the current directory as D:\.&lt;br /&gt;
Now i ran the cmd javac Test.java, it worked.&lt;/p&gt;
&lt;p&gt;May i know the reason for getting this error in the first scenerio.&lt;br /&gt;
I couldnt understand the reason why it happened.&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/2431#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/823">Java Language</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1126">JRE</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/371">JVM</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Fri, 13 Feb 2009 00:14:34 -0500</pubDate>
 <dc:creator>satyadmv</dc:creator>
 <guid isPermaLink="false">2431 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Generating XSD from XML </title>
 <link>http://www.javaworld.com/community/node/2338</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;As per my client requirements, I have to generate XSD from an existing XML through java. Any suggestions on this will be appreciated.&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>
 <comments>http://www.javaworld.com/community/node/2338#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/831">Java and XML</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/tools">Tools and Methods</group>
 <pubDate>Wed, 28 Jan 2009 00:02:26 -0500</pubDate>
 <dc:creator>knagap</dc:creator>
 <guid isPermaLink="false">2338 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>java.lang.outofmemoryerror</title>
 <link>http://www.javaworld.com/community/node/2187</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I am getting &quot;java.lang.outofmemoryerror&quot; , when I am trying to access an application. It looks like memory space is running short. How can I check what existing heapsize memory is ? Sopmebody advised me to use &quot;java -Xmx&quot; on the command line. I am not sure whats the current heapsize memory is. So how can I check this ?&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/2187#comments</comments>
 <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/beginner">Java Beginner</group>
 <pubDate>Fri, 02 Jan 2009 14:24:14 -0500</pubDate>
 <dc:creator>jignesh</dc:creator>
 <guid isPermaLink="false">2187 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Top Java Developers Offer Advice to Students</title>
 <link>http://www.javaworld.com/community/node/2055</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Got Advice for Students? &lt;/p&gt;
&lt;p&gt;A very good java.sun.com article&lt;br /&gt;
(&lt;a href=&quot;http://java.sun.com/developer/technicalArticles/Interviews/studentdevs/index.html&quot; title=&quot;http://java.sun.com/developer/technicalArticles/Interviews/studentdevs/index.html&quot;&gt;http://java.sun.com/developer/technicalArticles/Interviews/studentdevs/i...&lt;/a&gt;)&lt;br /&gt;
has 11 leading Java developers -- from Joshua Bloch to Tor Norbye to Chet Haase -- offering advice about how to become better developers. It&#039;s very useful if you&#039;re trying to figure out how to make it as a Java developer.&lt;/p&gt;
&lt;p&gt;Here&#039;s a brief sampling:&lt;/p&gt;
&lt;p&gt;Josh Bloch: &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/2055&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/2055#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/1047">Advice-for-Student-Developers</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/857">How-To Java</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Wed, 10 Dec 2008 20:29:37 -0500</pubDate>
 <dc:creator>Youssou</dc:creator>
 <guid isPermaLink="false">2055 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>xml problem need help.....</title>
 <link>http://www.javaworld.com/community/node/1960</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;hello i have question abt xml using DOM....i have that xml &lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;telenorWaridPaktelltelenorWaridPaktell&lt;/p&gt;
&lt;p&gt;i want that to delete  so my required xml look like that &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/1960&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1960#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/824">Client-side Java</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Mon, 01 Dec 2008 00:12:35 -0500</pubDate>
 <dc:creator>umaj</dc:creator>
 <guid isPermaLink="false">1960 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>How to print a PDF file in Java?</title>
 <link>http://www.javaworld.com/community/node/1910</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Tips for enterprise java developer.&lt;/p&gt;
&lt;p&gt;Sometime back I was looking for a solution to send a PDF document to printer from server side programming. Found a solution using PDF Renderer open source. For your benefits, documented my finding in below link. Hope all of you can benefit.&lt;br /&gt;
&lt;a href=&quot;http://venkatsadasivam.wordpress.com/2008/11/03/java-print-pdf/&quot; title=&quot;http://venkatsadasivam.wordpress.com/2008/11/03/java-print-pdf/&quot;&gt;http://venkatsadasivam.wordpress.com/2008/11/03/java-print-pdf/&lt;/a&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1910#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/861">Java Tips</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/841">Open Source Tools</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Sat, 22 Nov 2008 22:16:11 -0500</pubDate>
 <dc:creator>venkatsalem</dc:creator>
 <guid isPermaLink="false">1910 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Jsp Watermarks</title>
 <link>http://www.javaworld.com/community/node/1892</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hi Guru&#039;s,&lt;/p&gt;
&lt;p&gt;I am developing a website for matrimony, i want to add the text (like copyright @ company)&lt;br /&gt;
on image when the user uploading their photo.  I got one program from internet, it is working&lt;br /&gt;
perfectly as a java program, but it doesn&#039;t work after i converted into jsp.  I couldn&#039;t find&lt;br /&gt;
solution what is the problem in that code. I am using JDK1.5.0_06 and Tomcat 6.0. Please&lt;br /&gt;
look over my two program. Its throw me an error when i execute that jsp program(Watermark.jsp).&lt;/p&gt;
&lt;p&gt;The Error is:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error Occurred : javax.imageio.IIOException: Can&#039;t read input file!&lt;br /&gt;
&lt;/strong&gt; &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/1892&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1892#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/830">Enterprise Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/834">Java Web Development</category>
 <group domain="http://www.javaworld.com/community/enterprise">Enterprise Java</group>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Thu, 20 Nov 2008 08:02:32 -0500</pubDate>
 <dc:creator>prasath_arjunan</dc:creator>
 <guid isPermaLink="false">1892 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>if..else exercise question</title>
 <link>http://www.javaworld.com/community/node/1805</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Hello, i have a question about the following code. I&#039;ll appreciate it if someone can help me out.&lt;/p&gt;
&lt;p&gt;When i first tried to execute this code it gave me the error:&lt;/p&gt;
&lt;p&gt;&quot;The local variable &lt;strong&gt;animal&lt;/strong&gt; may not have been initialized&quot;.&lt;/p&gt;
&lt;p&gt;I thought I&#039;ve initialized the variable for each if block so I re-checked the code and realized that: &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if(hoursHome &amp;gt; 2)&lt;/strong&gt; (shown below) was an extra and unnecessary sentence, &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/1805&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/beginner&quot; class=&quot;og_links&quot;&gt;Java Beginner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1805#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/993">if...else statements</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <pubDate>Mon, 10 Nov 2008 06:27:19 -0500</pubDate>
 <dc:creator>stsermen</dc:creator>
 <guid isPermaLink="false">1805 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>Loading from classpath dont work</title>
 <link>http://www.javaworld.com/community/node/1717</link>
 <description>ClassLoader loader = ClassLoader.getSystemClassLoader();

		System.out.println(loader.getClass().getName());

		InputStream in = null;
		if (loader != null) {
			URL url = ClassLoader.getSystemResource(&quot;com/comp/resource/workflow.properties&quot;);
		
			String path = System.getProperty(&quot;catalina.home&quot;) + File.separator+ &quot;workflow.properties&quot;;	
			System.out.println(&quot;Path&quot;+path);
			if (url == null) {
				in = loader.getResourceAsStream(&quot;com/comp/resource/workflow.properties&quot;);

				if (in != null) {
					props = new Properties();
					props.load(in); &lt;span class=&#039;read-more&#039;&gt;&lt;a href=&quot;http://www.javaworld.com/community/node/1717&quot;&gt;&lt;br /&gt;&lt;br /&gt;Read more ...&lt;/a&gt;&lt;/span&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/node/1477&quot; class=&quot;og_links&quot;&gt;JW Talkback&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1717#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/821">Core Java</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/826">Java Platform APIs</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/corejava">Core Java</group>
 <group domain="http://www.javaworld.com/community/node/1477">JW Talkback</group>
 <pubDate>Fri, 31 Oct 2008 12:02:07 -0400</pubDate>
 <dc:creator />
 <guid isPermaLink="false">1717 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>harpreet.your@gmail.com</title>
 <link>http://www.javaworld.com/community/node/1713</link>
 <description>i m harpreet my problem related to native method, wt is the use of this method..
&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/node/1477&quot; class=&quot;og_links&quot;&gt;JW Talkback&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1713#comments</comments>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/node/1477">JW Talkback</group>
 <pubDate>Fri, 31 Oct 2008 06:50:54 -0400</pubDate>
 <dc:creator />
 <guid isPermaLink="false">1713 at http://www.javaworld.com/community</guid>
</item>
<item>
 <title>need help</title>
 <link>http://www.javaworld.com/community/node/1606</link>
 <description>Explain the purpose of the following statement. 
public void actionPerformed(ActionEvent event)

&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/node/1477&quot; class=&quot;og_links&quot;&gt;JW Talkback&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
 <comments>http://www.javaworld.com/community/node/1606#comments</comments>
 <category domain="http://www.javaworld.com/community/taxonomy/term/838">Java Development Tools</category>
 <category domain="http://www.javaworld.com/community/taxonomy/term/829">Java Programming Concepts</category>
 <group domain="http://www.javaworld.com/community/beginner">Java Beginner</group>
 <group domain="http://www.javaworld.com/community/node/1477">JW Talkback</group>
 <pubDate>Wed, 22 Oct 2008 14:04:59 -0400</pubDate>
 <dc:creator />
 <guid isPermaLink="false">1606 at http://www.javaworld.com/community</guid>
</item>
</channel>
</rss>
