<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for JabberWookie</title>
	<atom:link href="http://www.jabberwookie.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jabberwookie.com</link>
	<description></description>
	<lastBuildDate>Thu, 16 Feb 2012 00:54:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on How to use java programs that use other java programs in a website? by Brooks Hagenow</title>
		<link>http://www.jabberwookie.com/2012/02/how-to-use-java-programs-that-use-other-java-programs-in-a-website/comment-page-1/#comment-3281</link>
		<dc:creator>Brooks Hagenow</dc:creator>
		<pubDate>Thu, 16 Feb 2012 00:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2012/02/how-to-use-java-programs-that-use-other-java-programs-in-a-website/#comment-3281</guid>
		<description>Is the other &quot;program&quot; actually a library that the applet uses or actually a second program?

If it is just a library you can specify multiple jar files if you deploy it using JNLP. I have given an example on how to use JNLP on my blog. You can use it to deploy applets or applications.

However, if you are actually running two different Java applets/applications the jar files may need to be digitally signed if you need to use operations not allowed inside the default &quot;sandbox&quot; security.</description>
		<content:encoded><![CDATA[<p>&#73;&#115; &#116;&#104;&#101; &#111;&#116;&#104;&#101;&#114; &#8220;program&#8221; actually a library &#116;&#104;&#97;&#116; &#116;&#104;&#101; applet uses &#111;&#114; actually a second program?</p>
<p>&#73;&#102; &#105;&#116; &#105;&#115; &#106;&#117;&#115;&#116; a library &#121;&#111;&#117; &#99;&#97;&#110; specify multiple jar files &#105;&#102; &#121;&#111;&#117; deploy &#105;&#116; using JNLP. I &#104;&#97;&#118;&#101; given &#97;&#110; example &#111;&#110; &#104;&#111;&#119; &#116;&#111; &#117;&#115;&#101; JNLP &#111;&#110; &#109;&#121; blog. &#89;&#111;&#117; &#99;&#97;&#110; &#117;&#115;&#101; &#105;&#116; &#116;&#111; deploy applets &#111;&#114; applications.</p>
<p>&#72;&#111;&#119;&#101;&#118;&#101;&#114;, &#105;&#102; &#121;&#111;&#117; &#97;&#114;&#101; actually running two different Java applets/applications &#116;&#104;&#101; jar files &#109;&#97;&#121; need &#116;&#111; &#98;&#101; digitally signed &#105;&#102; &#121;&#111;&#117; need &#116;&#111; &#117;&#115;&#101; operations &#110;&#111;&#116; allowed inside &#116;&#104;&#101; default &#8220;sandbox&#8221; security.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to use java programs that use other java programs in a website? by deonejuan</title>
		<link>http://www.jabberwookie.com/2012/02/how-to-use-java-programs-that-use-other-java-programs-in-a-website/comment-page-1/#comment-3280</link>
		<dc:creator>deonejuan</dc:creator>
		<pubDate>Thu, 16 Feb 2012 00:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2012/02/how-to-use-java-programs-that-use-other-java-programs-in-a-website/#comment-3280</guid>
		<description>Applets have security restrictions and to tunnel through such limits requires consideration of many factors. So, there isn&#039;t a &#039;set&#039; or &#039;pat&#039; answer.</description>
		<content:encoded><![CDATA[<p>Applets &#104;&#97;&#118;&#101; security restrictions &#97;&#110;&#100; &#116;&#111; tunnel through such limits requires consideration &#111;&#102; many factors. &#83;&#111;, &#116;&#104;&#101;&#114;&#101; isn&#8217;t a &#8216;set&#8217; &#111;&#114; &#8216;pat&#8217; &#97;&#110;&#115;&#119;&#101;&#114;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FAQ: How to make a Java application display a file chooser and allow users to choose a file ? by shiva</title>
		<link>http://www.jabberwookie.com/2011/11/faq-how-to-make-a-java-application-display-a-file-chooser-and-allow-users-to-choose-a-file/comment-page-1/#comment-2279</link>
		<dc:creator>shiva</dc:creator>
		<pubDate>Thu, 03 Nov 2011 04:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/11/faq-how-to-make-a-java-application-display-a-file-chooser-and-allow-users-to-choose-a-file/#comment-2279</guid>
		<description>create a object for JFileChooser
use showOpen or showSave method to open Open dialog or Save dialog box.</description>
		<content:encoded><![CDATA[<p>&#99;&#114;&#101;&#97;&#116;&#101; a object &#102;&#111;&#114; JFileChooser<br />
&#117;&#115;&#101; showOpen &#111;&#114; showSave method &#116;&#111; open Open dialog &#111;&#114; Save dialog box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to compare strings of characters in Java? by William</title>
		<link>http://www.jabberwookie.com/2011/10/how-to-compare-strings-of-characters-in-java/comment-page-1/#comment-2268</link>
		<dc:creator>William</dc:creator>
		<pubDate>Mon, 31 Oct 2011 02:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/10/how-to-compare-strings-of-characters-in-java/#comment-2268</guid>
		<description>Bconvert the string into a String[] (string array) then compare the array piece by piece with the string being compaired</description>
		<content:encoded><![CDATA[<p>Bconvert &#116;&#104;&#101; string &#105;&#110;&#116;&#111; a String[] (string array) &#116;&#104;&#101;&#110; compare &#116;&#104;&#101; array piece &#98;&#121; piece &#119;&#105;&#116;&#104; &#116;&#104;&#101; string being compaired</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to compare strings of characters in Java? by deonejuan</title>
		<link>http://www.jabberwookie.com/2011/10/how-to-compare-strings-of-characters-in-java/comment-page-1/#comment-2267</link>
		<dc:creator>deonejuan</dc:creator>
		<pubDate>Mon, 31 Oct 2011 01:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/10/how-to-compare-strings-of-characters-in-java/#comment-2267</guid>
		<description>A sort is one line of code in Java if we are using Objects that implement the .compareTo() interface. I suppose this is an academic exercise.


public class CompareStringByChars {

    public static void main( String[] args ) {
        String t1 = &quot;ghbnxmbb&quot;;
        String t2 = &quot;ghbnz&quot;;
        String longest = &quot;&quot;;
        longest = t1.length() &gt;= t2.length() ? t1 : t2;
        System.out.println(&quot;longest.len: &quot; + longest.length());
        String shortest = &quot;&quot;;
        shortest = longest.equalsIgnoreCase(t1) ? t2 : t1;
        String result = &quot;&quot;;
        int count = 0;
        do {
            result = shortest.charAt( count ) &lt; longest.charAt(count) ?
                shortest : longest;
        } while( ++count &lt; shortest.length());

        System.out.println(&quot;First String is: &quot; + result);
        System.out.println(&quot;2nd String is: &quot; +
                (result.equalsIgnoreCase(shortest) ?
                    longest : shortest) );
    }
}</description>
		<content:encoded><![CDATA[<p>A sort &#105;&#115; one line &#111;&#102; code &#105;&#110; Java &#105;&#102; &#119;&#101; &#97;&#114;&#101; using Objects &#116;&#104;&#97;&#116; implement &#116;&#104;&#101; .compareTo() interface. I suppose &#116;&#104;&#105;&#115; &#105;&#115; &#97;&#110; academic exercise.</p>
<p>public class CompareStringByChars {</p>
<p>    public static void main( String[] args ) {<br />
        String t1 = &#8220;ghbnxmbb&#8221;;<br />
        String t2 = &#8220;ghbnz&#8221;;<br />
        String longest = &#8220;&#8221;;<br />
        longest = t1.length() >= t2.length() ? t1 : t2;<br />
        System.out.println(&#8220;longest.len: &#8221; + longest.length());<br />
        String shortest = &#8220;&#8221;;<br />
        shortest = longest.equalsIgnoreCase(t1) ? t2 : t1;<br />
        String result = &#8220;&#8221;;<br />
        int count = 0;<br />
        &#100;&#111; {<br />
            result = shortest.charAt( count ) < longest.charAt(count) ?<br />
                shortest : longest;<br />
        } &#119;&#104;&#105;&#108;&#101;( ++count < shortest.length());</p>
<p>        System.out.println(&#8220;First String &#105;&#115;: &#8221; + result);<br />
        System.out.println(&#8220;2nd String &#105;&#115;: &#8221; +<br />
                (result.equalsIgnoreCase(shortest) ?<br />
                    longest : shortest) );<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on In Java: How can I make a Timer based repaint, instead repaint as fast as the processor can handle? by Toad</title>
		<link>http://www.jabberwookie.com/2011/06/in-java-how-can-i-make-a-timer-based-repaint-instead-repaint-as-fast-as-the-processor-can-handle/comment-page-1/#comment-1439</link>
		<dc:creator>Toad</dc:creator>
		<pubDate>Mon, 20 Jun 2011 11:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/06/in-java-how-can-i-make-a-timer-based-repaint-instead-repaint-as-fast-as-the-processor-can-handle/#comment-1439</guid>
		<description>One way may to use a boolean variable that changes before and after the paint method. A while loop can wait until the paint method is finished.  For example:

boolean wait = true;

//...

repaint();
while( wait ); // don&#039;t continue until paint method finishes
wait = true;


// paint method does it&#039;s thing and then at the end...
wait = false;

This way your timer is the time it takes the paint method to change wait to equal false</description>
		<content:encoded><![CDATA[<p>One way &#109;&#97;&#121; &#116;&#111; &#117;&#115;&#101; a boolean variable &#116;&#104;&#97;&#116; changes before &#97;&#110;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; paint method. A &#119;&#104;&#105;&#108;&#101; loop &#99;&#97;&#110; wait until &#116;&#104;&#101; paint method &#105;&#115; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100;.  &#70;&#111;&#114; example:</p>
<p>boolean wait = &#116;&#114;&#117;&#101;;</p>
<p>//&#8230;</p>
<p>repaint();<br />
&#119;&#104;&#105;&#108;&#101;( wait ); // don&#8217;t continue until paint method finishes<br />
wait = &#116;&#114;&#117;&#101;;</p>
<p>// paint method &#100;&#111;&#101;&#115; &#105;&#116;&#8217;s thing &#97;&#110;&#100; &#116;&#104;&#101;&#110; &#97;&#116; &#116;&#104;&#101; &#101;&#110;&#100;&#8230;<br />
wait = &#102;&#97;&#108;&#115;&#101;;</p>
<p>&#84;&#104;&#105;&#115; way &#121;&#111;&#117;&#114; timer &#105;&#115; &#116;&#104;&#101; time &#105;&#116; takes &#116;&#104;&#101; paint method &#116;&#111; change wait &#116;&#111; equal &#102;&#97;&#108;&#115;&#101;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is the standard way to instantiate a Java Bean? by openmath</title>
		<link>http://www.jabberwookie.com/2011/06/what-is-the-standard-way-to-instantiate-a-java-bean/comment-page-1/#comment-1421</link>
		<dc:creator>openmath</dc:creator>
		<pubDate>Tue, 14 Jun 2011 08:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/06/what-is-the-standard-way-to-instantiate-a-java-bean/#comment-1421</guid>
		<description>A Java bean is a plain old java object (POJO) that has as zero argument constructor, member field with accessors prefixed with get and set and is serializable. 

The most common programmatic way to instantiate is with new keyword.  You can also use the reflection API or object injection. If you are choosing the type to create dynamically or deserializing, use Beans.instantiate.</description>
		<content:encoded><![CDATA[<p>A Java bean &#105;&#115; a plain &#111;&#108;&#100; java object (POJO) &#116;&#104;&#97;&#116; &#104;&#97;&#115; &#97;&#115; zero argument constructor, member field &#119;&#105;&#116;&#104; accessors prefixed &#119;&#105;&#116;&#104; &#103;&#101;&#116; &#97;&#110;&#100; set &#97;&#110;&#100; &#105;&#115; serializable. </p>
<p>&#84;&#104;&#101; &#109;&#111;&#115;&#116; common programmatic way &#116;&#111; instantiate &#105;&#115; &#119;&#105;&#116;&#104; &#110;&#101;&#119; keyword.  &#89;&#111;&#117; &#99;&#97;&#110; &#97;&#108;&#115;&#111; &#117;&#115;&#101; &#116;&#104;&#101; reflection API &#111;&#114; object injection. &#73;&#102; &#121;&#111;&#117; &#97;&#114;&#101; choosing &#116;&#104;&#101; type &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; dynamically &#111;&#114; deserializing, &#117;&#115;&#101; Beans.instantiate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JAVA?????????????????? by Donkey Girl</title>
		<link>http://www.jabberwookie.com/2011/06/java-2/comment-page-1/#comment-1407</link>
		<dc:creator>Donkey Girl</dc:creator>
		<pubDate>Sat, 11 Jun 2011 06:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/06/java-2/#comment-1407</guid>
		<description>Wow that&#039;s a hell of a big subject.  I suggest you do some reading on the subject first and then ask some more specific questions when you&#039;ve got more into it.

Not sure which IDE you&#039;re using but Eclipse is a good one.

email me if you have some specific questions.</description>
		<content:encoded><![CDATA[<p>Wow &#116;&#104;&#97;&#116;&#8217;s a hell &#111;&#102; a &#98;&#105;&#103; subject.  I suggest &#121;&#111;&#117; &#100;&#111; &#115;&#111;&#109;&#101; reading &#111;&#110; &#116;&#104;&#101; subject first &#97;&#110;&#100; &#116;&#104;&#101;&#110; &#97;&#115;&#107; &#115;&#111;&#109;&#101; more specific &#113;&#117;&#101;&#115;&#116;&#105;&#111;&#110;&#115; &#119;&#104;&#101;&#110; &#121;&#111;&#117;&#8217;ve &#103;&#111;&#116; more &#105;&#110;&#116;&#111; &#105;&#116;.</p>
<p>&#78;&#111;&#116; sure &#119;&#104;&#105;&#99;&#104; IDE &#121;&#111;&#117;&#8217;re using &#98;&#117;&#116; Eclipse &#105;&#115; a &#103;&#111;&#111;&#100; one.</p>
<p>email &#109;&#101; &#105;&#102; &#121;&#111;&#117; &#104;&#97;&#118;&#101; &#115;&#111;&#109;&#101; specific &#113;&#117;&#101;&#115;&#116;&#105;&#111;&#110;&#115;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JAVA?????????????????? by tanmeya</title>
		<link>http://www.jabberwookie.com/2011/06/java-2/comment-page-1/#comment-1406</link>
		<dc:creator>tanmeya</dc:creator>
		<pubDate>Sat, 11 Jun 2011 05:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/06/java-2/#comment-1406</guid>
		<description>download and go through the pdf below - 

http://goo.gl/wsPtR

Also you need to download and install Java Runtime environment, and Java Development Kit. Find them on sun.java.com</description>
		<content:encoded><![CDATA[<p>download &#97;&#110;&#100; &#103;&#111; through &#116;&#104;&#101; pdf below &#8211; </p>
<p><a href="http://goo.gl/wsPtR" rel="nofollow">http://goo.gl/wsPtR</a></p>
<p>&#65;&#108;&#115;&#111; &#121;&#111;&#117; need &#116;&#111; download &#97;&#110;&#100; install Java Runtime environment, &#97;&#110;&#100; Java Development Kit. Find &#116;&#104;&#101;&#109; &#111;&#110; sun.java.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What facility does java enabled mobile phones provide to its users? by Sinha Online</title>
		<link>http://www.jabberwookie.com/2011/05/what-facility-does-java-enabled-mobile-phones-provide-to-its-users/comment-page-1/#comment-1282</link>
		<dc:creator>Sinha Online</dc:creator>
		<pubDate>Sat, 14 May 2011 11:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabberwookie.com/2011/05/what-facility-does-java-enabled-mobile-phones-provide-to-its-users/#comment-1282</guid>
		<description>In that range it will be real tough to find a phone which can watch and download videos as well.

If you are expecting YouTube videos to be downloaded to your phone you simply cannot as long as youtube is not allowing it. 

Java phones which can do these things will cost you some ...cheaper ones - Samsung Corby

Costly Ones - Nokia N8</description>
		<content:encoded><![CDATA[<p>&#73;&#110; &#116;&#104;&#97;&#116; range &#105;&#116; &#119;&#105;&#108;&#108; &#98;&#101; real tough &#116;&#111; find a phone &#119;&#104;&#105;&#99;&#104; &#99;&#97;&#110; watch &#97;&#110;&#100; download videos &#97;&#115; well.</p>
<p>&#73;&#102; &#121;&#111;&#117; &#97;&#114;&#101; expecting YouTube videos &#116;&#111; &#98;&#101; downloaded &#116;&#111; &#121;&#111;&#117;&#114; phone &#121;&#111;&#117; simply &#99;&#97;&#110;&#110;&#111;&#116; &#97;&#115; long &#97;&#115; youtube &#105;&#115; &#110;&#111;&#116; allowing &#105;&#116;. </p>
<p>Java phones &#119;&#104;&#105;&#99;&#104; &#99;&#97;&#110; &#100;&#111; &#116;&#104;&#101;&#115;&#101; things &#119;&#105;&#108;&#108; cost &#121;&#111;&#117; &#115;&#111;&#109;&#101; &#8230;cheaper ones &#8211; Samsung Corby</p>
<p>Costly Ones &#8211; Nokia N8</p>
]]></content:encoded>
	</item>
</channel>
</rss>

