<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>APCS Java</title><link>http://apcsjava.blogspot.com/</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ApcsJava" /><description>Helpful video Podcast for folks taking a course in Advanced Placement Computer Science</description><language>en</language><managingEditor>noreply@blogger.com (Brother C)</managingEditor><lastBuildDate>Wed, 23 Nov 2011 16:00:45 PST</lastBuildDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">41</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/">25</openSearch:itemsPerPage><feedburner:info uri="apcsjava" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>(c)2008 Chris Thiel</media:copyright><media:thumbnail url="http://www.stfrank.com/Podcast/apcsJavaLogo.png" /><media:keywords>apcs,compsci,OOP,java,Java,computer,Science</media:keywords><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Education/Educational Technology</media:category><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Education/K-12</media:category><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Education/Higher Education</media:category><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Education/Training</media:category><itunes:owner><itunes:email>noreply@blogger.com</itunes:email><itunes:name>Chris Thiel</itunes:name></itunes:owner><itunes:author>Chris Thiel</itunes:author><itunes:explicit>no</itunes:explicit><itunes:image href="http://www.stfrank.com/Podcast/apcsJavaLogo.png" /><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><itunes:subtitle>OOP Java for the AP CompSci A Test</itunes:subtitle><itunes:summary>OOP Java for the AP CompSci A Test</itunes:summary><itunes:category text="Education"><itunes:category text="Educational Technology" /></itunes:category><itunes:category text="Education"><itunes:category text="K-12" /></itunes:category><itunes:category text="Education"><itunes:category text="Higher Education" /></itunes:category><itunes:category text="Education"><itunes:category text="Training" /></itunes:category><item><title>Comparator Interface in Gridworld</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/8ne6asTdoAw/comparator-interface-in-gridworld.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Wed, 23 Nov 2011 16:00:45 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-747004797162302980</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-THE5z_gx_cw/Ts2H3vsXCyI/AAAAAAAAAQo/kt8OEigVlgk/s1600/Screen%2BShot%2B2011-11-23%2Bat%2B3.54.37%2BPM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 323px; height: 400px;" src="http://1.bp.blogspot.com/-THE5z_gx_cw/Ts2H3vsXCyI/AAAAAAAAAQo/kt8OEigVlgk/s400/Screen%2BShot%2B2011-11-23%2Bat%2B3.54.37%2BPM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5678344096949144354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is a customized World for Gridworld where the message on the top is updated to show how many bugs there are and the location of the furthest Bug in the grid. You need to implement the Comparator interface for the grid world Bug class. You need to define a compare method that returns an int. Get the location of each Bug and use the compareTo method of Location. Here is the starter code: &lt;a href="http://apcs.mathorama.com/index.php?n=Main.CustomActorWorldThatReportsTheFurthestBug"&gt;apcs.mathorama.com&lt;/a&gt; &lt;br /&gt;&lt;P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;&lt;a href="http://www.mathorama.com/BugComparator.m4v"&gt;mpeg4 movie&lt;/a&gt;&lt;br /&gt;&lt;LI&gt;&lt;a href="http://www.mathorama.com/BugComparator.mov"&gt;Quicktime movie&lt;/a&gt;&lt;br /&gt;&lt;/UL&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-747004797162302980?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-23T16:00:45.964-08:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/-THE5z_gx_cw/Ts2H3vsXCyI/AAAAAAAAAQo/kt8OEigVlgk/s72-c/Screen%2BShot%2B2011-11-23%2Bat%2B3.54.37%2BPM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/XWWQNN-q1ds/BugComparator.mov" fileSize="7139931" type="video/quicktime" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Here is a customized World for Gridworld where the message on the top is updated to show how many bugs there are and the location of the furthest Bug in the grid. You need to implement the Comparator interface for the grid world Bug class. You need to de</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Here is a customized World for Gridworld where the message on the top is updated to show how many bugs there are and the location of the furthest Bug in the grid. You need to implement the Comparator interface for the grid world Bug class. You need to define a compare method that returns an int. Get the location of each Bug and use the compareTo method of Location. Here is the starter code: apcs.mathorama.com mpeg4 movie Quicktime movie </itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/11/comparator-interface-in-gridworld.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/XWWQNN-q1ds/BugComparator.mov" length="7139931" type="video/quicktime" /><feedburner:origEnclosureLink>http://www.mathorama.com/BugComparator.mov</feedburner:origEnclosureLink></item><item><title>One To Ten Game Part 3</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/bO0tEf69q-s/one-to-ten-game-part-3.html</link><category>tutorial</category><category>1 to 10 game</category><category>apcs</category><category>1 to 10</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sun, 23 Oct 2011 17:50:14 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-2327216171353214833</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-vmZeooI_7FQ/TqS2DnxZGOI/AAAAAAAAAQc/xSdPbhIPvF4/s1600/Screen%2BShot%2B2011-10-23%2Bat%2B4.21.19%2BPM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 185px;" src="http://2.bp.blogspot.com/-vmZeooI_7FQ/TqS2DnxZGOI/AAAAAAAAAQc/xSdPbhIPvF4/s400/Screen%2BShot%2B2011-10-23%2Bat%2B4.21.19%2BPM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5666854404470937826" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Part 3 of the One to Ten Game which explains the Player Class. You can see a working copy at &lt;a href="http://www.mathorama.com/OneToTenConsole.html"&gt;http://www.mathorama.com/OneToTenConsole.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-2327216171353214833?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-23T17:50:14.494-07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/-vmZeooI_7FQ/TqS2DnxZGOI/AAAAAAAAAQc/xSdPbhIPvF4/s72-c/Screen%2BShot%2B2011-10-23%2Bat%2B4.21.19%2BPM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/VC2fElpk854/Onetotengamepart3-Broadband.m4v" fileSize="106928654" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Part 3 of the One to Ten Game which explains the Player Class. You can see a working copy at http://www.mathorama.com/OneToTenConsole.html</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Part 3 of the One to Ten Game which explains the Player Class. You can see a working copy at http://www.mathorama.com/OneToTenConsole.html</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/10/one-to-ten-game-part-3.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/VC2fElpk854/Onetotengamepart3-Broadband.m4v" length="106928654" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/OneToTenGamePart3/Onetotengamepart3-Broadband.m4v</feedburner:origEnclosureLink></item><item><title>One to Ten Game Part 2</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/db7ylrjK2dY/one-to-ten-game-part-2.html</link><category>while</category><category>for loop</category><category>1 to 10 game</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 22 Oct 2011 23:49:37 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-6791101570254303177</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-4nMMEInATRQ/TqO48TCPA0I/AAAAAAAAAQE/NhyIFVErtBM/s1600/Screen%2BShot%2B2011-10-22%2Bat%2B11.48.43%2BPM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 346px; height: 187px;" src="http://2.bp.blogspot.com/-4nMMEInATRQ/TqO48TCPA0I/AAAAAAAAAQE/NhyIFVErtBM/s400/Screen%2BShot%2B2011-10-22%2Bat%2B11.48.43%2BPM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5666576102203523906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Part 2 of 3 of the One to Ten Game&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-6791101570254303177?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-22T23:49:37.257-07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/-4nMMEInATRQ/TqO48TCPA0I/AAAAAAAAAQE/NhyIFVErtBM/s72-c/Screen%2BShot%2B2011-10-22%2Bat%2B11.48.43%2BPM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/zgNeAULkRBM/Onetotengamepart2-Broadband.m4v" fileSize="90175691" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Part 2 of 3 of the One to Ten Game</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Part 2 of 3 of the One to Ten Game</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/10/one-to-ten-game-part-2.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/zgNeAULkRBM/Onetotengamepart2-Broadband.m4v" length="90175691" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/OneToTenGamePart2/Onetotengamepart2-Broadband.m4v</feedburner:origEnclosureLink></item><item><title>One to Ten Game Part 1</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/WRuNRrqwtlM/one-to-ten-game-part-1.html</link><category>tester class</category><category>comp Sci</category><category>java</category><category>class</category><category>for loop</category><category>for</category><category>tutorial</category><category>apcs</category><category>1 to 10</category><category>if</category><category>game</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 22 Oct 2011 17:29:28 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-2210069333370397294</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-yuWusUSvzic/TqNVI9nQwMI/AAAAAAAAAP4/OHW5UdEoMYM/s1600/Screen%2BShot%2B2011-10-22%2Bat%2B4.42.54%2BPM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 117px;" src="http://1.bp.blogspot.com/-yuWusUSvzic/TqNVI9nQwMI/AAAAAAAAAP4/OHW5UdEoMYM/s400/Screen%2BShot%2B2011-10-22%2Bat%2B4.42.54%2BPM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5666466368628768962" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this tutorial, we make a game called "1 to 10" rather than tic-tac-toe (naughts and crosses).  We will construct A Board Class in the first part along with a tester class. The idea is to move a page either one or two positions, and the one in the last position loses.  The strategy is not to difficult, so eventually we can make a robot player who will always play perfectly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-2210069333370397294?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-22T17:29:28.318-07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/-yuWusUSvzic/TqNVI9nQwMI/AAAAAAAAAP4/OHW5UdEoMYM/s72-c/Screen%2BShot%2B2011-10-22%2Bat%2B4.42.54%2BPM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/cwyNgMBX7_0/Onetwotengamepart1-Broadband.m4v" fileSize="79009181" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> In this tutorial, we make a game called "1 to 10" rather than tic-tac-toe (naughts and crosses). We will construct A Board Class in the first part along with a tester class. The idea is to move a page either one or two positions, and the one in the last </itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> In this tutorial, we make a game called "1 to 10" rather than tic-tac-toe (naughts and crosses). We will construct A Board Class in the first part along with a tester class. The idea is to move a page either one or two positions, and the one in the last position loses. The strategy is not to difficult, so eventually we can make a robot player who will always play perfectly.</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/10/one-to-ten-game-part-1.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/cwyNgMBX7_0/Onetwotengamepart1-Broadband.m4v" length="79009181" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/OneToTenGamePart1/Onetwotengamepart1-Broadband.m4v</feedburner:origEnclosureLink></item><item><title>Make a Java Class for Dots</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/yudz82mD_iA/make-java-class-for-dots.html</link><category>java</category><category>class</category><category>applet</category><category>object</category><category>eclipse</category><category>apcs</category><category>OOP</category><category>thiel</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 03 Sep 2011 17:28:53 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-5921192009737560025</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-FctmmCQcjKM/TmLF_fzNdyI/AAAAAAAAAPY/QqpWoW-u88o/s1600/Screen%2BShot%2B2011-09-03%2Bat%2B5.27.08%2BPM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 144px;" src="http://3.bp.blogspot.com/-FctmmCQcjKM/TmLF_fzNdyI/AAAAAAAAAPY/QqpWoW-u88o/s400/Screen%2BShot%2B2011-09-03%2Bat%2B5.27.08%2BPM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5648294577334744866" /&gt;&lt;/a&gt;&lt;BR&gt;
&lt;br /&gt;Make a new object that represents a dot using the eclipse IDE.  
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-5921192009737560025?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-03T17:28:53.012-07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/-FctmmCQcjKM/TmLF_fzNdyI/AAAAAAAAAPY/QqpWoW-u88o/s72-c/Screen%2BShot%2B2011-09-03%2Bat%2B5.27.08%2BPM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/6ZlDzGHI4_E/Dotclassdemo-Broadband.m4v" fileSize="173440140" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Make a new object that represents a dot using the eclipse IDE. </itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Make a new object that represents a dot using the eclipse IDE. </itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/09/make-java-class-for-dots.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/6ZlDzGHI4_E/Dotclassdemo-Broadband.m4v" length="173440140" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/MakingAJavaClassForDots/Dotclassdemo-Broadband.m4v</feedburner:origEnclosureLink></item><item><title>Making a JAR file in Eclipse</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/fTSz95KOb7U/making-jar-file-in-eclipse.html</link><category>java</category><category>jar</category><category>applet</category><category>eclipse</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 23 May 2011 00:45:41 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-1000996263624215261</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-Zofq0s6Udbs/TdoQkYfnp5I/AAAAAAAAAPM/34op1A6CcsU/s1600/Screen%2Bshot%2B2011-05-23%2Bat%2B12.44.34%2BAM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 253px;" src="http://1.bp.blogspot.com/-Zofq0s6Udbs/TdoQkYfnp5I/AAAAAAAAAPM/34op1A6CcsU/s400/Screen%2Bshot%2B2011-05-23%2Bat%2B12.44.34%2BAM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5609814503079782290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you want to publish your Applet to the web, you probably need to make a Java Archive, or JAR file that allows you to embed your Applet in a web page&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-1000996263624215261?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-23T00:45:41.513-07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/-Zofq0s6Udbs/TdoQkYfnp5I/AAAAAAAAAPM/34op1A6CcsU/s72-c/Screen%2Bshot%2B2011-05-23%2Bat%2B12.44.34%2BAM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/NPeEOVxHQ6M/JarFilesInEclipse-Computer.m4v" fileSize="31729259" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> If you want to publish your Applet to the web, you probably need to make a Java Archive, or JAR file that allows you to embed your Applet in a web page</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> If you want to publish your Applet to the web, you probably need to make a Java Archive, or JAR file that allows you to embed your Applet in a web page</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/05/making-jar-file-in-eclipse.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/NPeEOVxHQ6M/JarFilesInEclipse-Computer.m4v" length="31729259" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/MakingJarFilesInEclipse/JarFilesInEclipse-Computer.m4v</feedburner:origEnclosureLink></item><item><title>Bug Demo:Circle Bug with Eclipse</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/BELLSE0NP7A/bug-democircle-bug-with-eclipse.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 14 Mar 2011 15:47:32 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-3541607300961870064</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-5Q6IG-ryLyc/TX6a6U_iLpI/AAAAAAAAAO8/FOwCt19Mnoc/s1600/Screen%2Bshot%2B2011-03-14%2Bat%2B3.46.21%2BPM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 337px;" src="http://4.bp.blogspot.com/-5Q6IG-ryLyc/TX6a6U_iLpI/AAAAAAAAAO8/FOwCt19Mnoc/s400/Screen%2Bshot%2B2011-03-14%2Bat%2B3.46.21%2BPM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5584070914844274322" /&gt;&lt;/a&gt;&lt;br&gt;Use Eclipse to make a Circle Bug&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-3541607300961870064?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-14T15:47:32.499-07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/-5Q6IG-ryLyc/TX6a6U_iLpI/AAAAAAAAAO8/FOwCt19Mnoc/s72-c/Screen%2Bshot%2B2011-03-14%2Bat%2B3.46.21%2BPM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/ntLIqtt6nNA/BugDemo1.mov" fileSize="29672873" type="video/quicktime" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Use Eclipse to make a Circle Bug</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Use Eclipse to make a Circle Bug</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2011/03/bug-democircle-bug-with-eclipse.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/ntLIqtt6nNA/BugDemo1.mov" length="29672873" type="video/quicktime" /><feedburner:origEnclosureLink>http://web.mac.com/cct/Site/Media/BugDemo1.mov</feedburner:origEnclosureLink></item><item><title>Getting Started with APCS Java on Windows 7</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/OYCp06fazwg/getting-started-with-apcs-java-on.html</link><category>windows 7</category><category>java</category><category>intalling</category><category>apcs</category><category>thiel</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sun, 22 Aug 2010 17:24:56 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-6383349296550269270</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_eMfXCzqw7nc/THG_n8WIfcI/AAAAAAAAANs/SUpH_XC71M4/s1600/Screen+shot+2010-08-22+at+5.23.26+PM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 241px;" src="http://3.bp.blogspot.com/_eMfXCzqw7nc/THG_n8WIfcI/AAAAAAAAANs/SUpH_XC71M4/s400/Screen+shot+2010-08-22+at+5.23.26+PM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5508394512185589186" /&gt;&lt;/a&gt;&lt;br /&gt;How to get what you need installed on your Windows 7 machine&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-6383349296550269270?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-22T17:24:56.365-07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_eMfXCzqw7nc/THG_n8WIfcI/AAAAAAAAANs/SUpH_XC71M4/s72-c/Screen+shot+2010-08-22+at+5.23.26+PM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/7e8GRSL3z2Y/GettingStartedAPCSWindowsComputer.m4v" fileSize="79041521" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> How to get what you need installed on your Windows 7 machine</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> How to get what you need installed on your Windows 7 machine</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2010/08/getting-started-with-apcs-java-on.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/7e8GRSL3z2Y/GettingStartedAPCSWindowsComputer.m4v" length="79041521" type="video/x-m4v" /><feedburner:origEnclosureLink>http://ia360705.us.archive.org/4/items/ChrisThielGettingStartedwithAPCSWindows7/GettingStartedAPCSWindowsComputer.m4v</feedburner:origEnclosureLink></item><item><title>Starting APCS with linux</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/VCiSJix-fR0/starting-apcs-with-linux.html</link><category>starting installing</category><category>apcs</category><category>ubuntu</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 21 Aug 2010 10:24:48 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-899985236201967276</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eMfXCzqw7nc/THAL1xoDG-I/AAAAAAAAANk/xefWoYchQzI/s1600/Screen+shot+2010-08-21+at+10.23.55+AM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 142px;" src="http://1.bp.blogspot.com/_eMfXCzqw7nc/THAL1xoDG-I/AAAAAAAAANk/xefWoYchQzI/s400/Screen+shot+2010-08-21+at+10.23.55+AM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5507915362756402146" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-899985236201967276?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-21T10:24:48.801-07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_eMfXCzqw7nc/THAL1xoDG-I/AAAAAAAAANk/xefWoYchQzI/s72-c/Screen+shot+2010-08-21+at+10.23.55+AM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/vyJ00H2GaYk/StartingApcsWithLinux-Computer.m4v" fileSize="44124271" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:author>Chris Thiel</itunes:author><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2010/08/starting-apcs-with-linux.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/vyJ00H2GaYk/StartingApcsWithLinux-Computer.m4v" length="44124271" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielStartingAPCSwithlinux/StartingApcsWithLinux-Computer.m4v</feedburner:origEnclosureLink></item><item><title>PokerHand</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/hxPt_CwX-Mc/pokerhand.html</link><category>poker</category><category>inner class</category><category>java</category><category>interface</category><category>apcs</category><category>thiel</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 28 Nov 2009 14:07:15 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-589142571343527299</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_eMfXCzqw7nc/SxGeLDNPtRI/AAAAAAAAAL0/FAosC0HPTgo/s1600/Screen+shot+2009-11-28+at+1.14.26+PM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 377px; height: 186px;" src="http://3.bp.blogspot.com/_eMfXCzqw7nc/SxGeLDNPtRI/AAAAAAAAAL0/FAosC0HPTgo/s400/Screen+shot+2009-11-28+at+1.14.26+PM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5409278540125287698" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;P&gt;&lt;br /&gt;To make a variety of Poker games, we need a way to evaluate and compare Poker hands.  This video also shows how to implement an interface in an inner class, so that a user can press a button, and new poker hands are generated.  Starter code can be found at &lt;a href="http://www.stfrank.com/TexasApplet1.html"&gt;the APCS Wiki&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-589142571343527299?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-28T14:07:15.154-08:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_eMfXCzqw7nc/SxGeLDNPtRI/AAAAAAAAAL0/FAosC0HPTgo/s72-c/Screen+shot+2009-11-28+at+1.14.26+PM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/99QOEmCRwts/PokerHand.m4v" fileSize="116938195" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> To make a variety of Poker games, we need a way to evaluate and compare Poker hands. This video also shows how to implement an interface in an inner class, so that a user can press a button, and new poker hands are generated. Starter code can be found at</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> To make a variety of Poker games, we need a way to evaluate and compare Poker hands. This video also shows how to implement an interface in an inner class, so that a user can press a button, and new poker hands are generated. Starter code can be found at the APCS Wiki.</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/11/pokerhand.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/99QOEmCRwts/PokerHand.m4v" length="116938195" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielPokerHandclass/PokerHand.m4v</feedburner:origEnclosureLink></item><item><title>Interfaces Part 3</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/5DOc8WHnp_g/interfaces-part-3.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 21 Feb 2011 15:07:27 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-5159036054257738774</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_eMfXCzqw7nc/Sw30wOtzBvI/AAAAAAAAALs/0BGfCgXxtNw/s1600/Screen+shot+2009-11-24+at+7.26.13+AM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 308px;" src="http://3.bp.blogspot.com/_eMfXCzqw7nc/Sw30wOtzBvI/AAAAAAAAALs/0BGfCgXxtNw/s400/Screen+shot+2009-11-24+at+7.26.13+AM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5408247836962916082" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;P&gt;&lt;br /&gt;&lt;BR&gt;&lt;br /&gt;Implementing java interfaces for any Object.  For "starter" code see &lt;a href="http://apcs.mathorama.com"&gt;the APCS Wiki&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-5159036054257738774?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-21T15:07:27.578-08:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_eMfXCzqw7nc/Sw30wOtzBvI/AAAAAAAAALs/0BGfCgXxtNw/s72-c/Screen+shot+2009-11-24+at+7.26.13+AM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/xHCfDW1LTVo/InterfacesPart3.m4v" fileSize="93125192" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Implementing java interfaces for any Object. For "starter" code see the APCS Wiki</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Implementing java interfaces for any Object. For "starter" code see the APCS Wiki</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/11/interfaces-part-3.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/xHCfDW1LTVo/InterfacesPart3.m4v" length="93125192" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielInterfacesPart3/InterfacesPart3.m4v</feedburner:origEnclosureLink></item><item><title>Java Interfaces Parts 1 and 2</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/EgK-e5YwiBc/java-interfaces-parts-1-and-2.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 21 Feb 2011 15:04:58 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-4029205232288821224</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eMfXCzqw7nc/SwuQHh6uPMI/AAAAAAAAALk/nkfNk5FkOCg/s1600/Screen+shot+2009-11-23+at+11.48.58+PM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 159px;" src="http://2.bp.blogspot.com/_eMfXCzqw7nc/SwuQHh6uPMI/AAAAAAAAALk/nkfNk5FkOCg/s400/Screen+shot+2009-11-23+at+11.48.58+PM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5407574236626566338" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;BR&gt;&lt;P&gt;&lt;BR&gt;&lt;br /&gt;We introduce a way to use code to work with a variety of classes using interfaces.  Source code can be found at &lt;a href="http://apcs.mathorama.com/index.php?n=Main.Chapter9"&gt;the APCS Wiki&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-4029205232288821224?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-21T15:04:58.880-08:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/_eMfXCzqw7nc/SwuQHh6uPMI/AAAAAAAAALk/nkfNk5FkOCg/s72-c/Screen+shot+2009-11-23+at+11.48.58+PM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/teOokLlEKHA/Interfaces1and2.m4v" fileSize="569599641" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> We introduce a way to use code to work with a variety of classes using interfaces. Source code can be found at the APCS Wiki</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> We introduce a way to use code to work with a variety of classes using interfaces. Source code can be found at the APCS Wiki</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/11/java-interfaces-parts-1-and-2.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/teOokLlEKHA/Interfaces1and2.m4v" length="569599641" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielJavaInterfacesParts1and2/Interfaces1and2.m4v</feedburner:origEnclosureLink></item><item><title>Making Classes with the Eclipse IDE</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/Z8TigJcpIAk/making-classes-with-eclipse-ide.html</link><category>chapter 3</category><category>java</category><category>classes</category><category>apcs</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 07 Sep 2009 14:57:50 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-1773981939022151092</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eMfXCzqw7nc/SqWB2E8pnYI/AAAAAAAAAK8/eee7b23BAFQ/s1600-h/Screen+shot+2009-09-07+at+2.57.12+PM.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 149px;" src="http://1.bp.blogspot.com/_eMfXCzqw7nc/SqWB2E8pnYI/AAAAAAAAAK8/eee7b23BAFQ/s400/Screen+shot+2009-09-07+at+2.57.12+PM.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5378848096004971906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;P&gt;Make mew Projects and Classes in Eclipse.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-1773981939022151092?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-07T14:57:50.368-07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_eMfXCzqw7nc/SqWB2E8pnYI/AAAAAAAAAK8/eee7b23BAFQ/s72-c/Screen+shot+2009-09-07+at+2.57.12+PM.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://apcsjava.blogspot.com/2009/09/making-classes-with-eclipse-ide.html</feedburner:origLink></item><item><title>Dr Java interactions</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/7PEp5k-ESB0/dr-java-interactions.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 22 Aug 2009 20:31:15 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-6528655904029488063</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_eMfXCzqw7nc/SpC3bwJFDLI/AAAAAAAAAK0/zrnPbpyKqUc/s1600-h/DrJavaInteractions-poster.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 250px;" src="http://3.bp.blogspot.com/_eMfXCzqw7nc/SpC3bwJFDLI/AAAAAAAAAK0/zrnPbpyKqUc/s400/DrJavaInteractions-poster.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5372996042860334258" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Click on the title to see the video.  Here I show how to try the code snippets that you will see  while reading Chapter 2 of Horstmann, "Java Concepts"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-6528655904029488063?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-22T20:31:15.889-07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_eMfXCzqw7nc/SpC3bwJFDLI/AAAAAAAAAK0/zrnPbpyKqUc/s72-c/DrJavaInteractions-poster.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/dVDtX1XLPu0/DrJavaInteractionsdesktop.m4v" fileSize="353411785" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Click on the title to see the video. Here I show how to try the code snippets that you will see while reading Chapter 2 of Horstmann, "Java Concepts"</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Click on the title to see the video. Here I show how to try the code snippets that you will see while reading Chapter 2 of Horstmann, "Java Concepts"</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/08/dr-java-interactions.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/dVDtX1XLPu0/DrJavaInteractionsdesktop.m4v" length="353411785" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielDrJavaInteractions/DrJavaInteractionsdesktop.m4v</feedburner:origEnclosureLink></item><item><title>Cryptography</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/FrSSDM1S1bo/cryptography.html</link><category>java</category><category>cipher</category><category>cryptography</category><category>vignere</category><category>apcs</category><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Fri, 14 May 2010 16:35:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-8719247144316174345</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eMfXCzqw7nc/Scrkm1mcSFI/AAAAAAAAAKE/jZtWkAz4dEM/s1600-h/Picture+167.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 216px;" src="http://4.bp.blogspot.com/_eMfXCzqw7nc/Scrkm1mcSFI/AAAAAAAAAKE/jZtWkAz4dEM/s400/Picture+167.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5317313665938770002" /&gt;&lt;/a&gt;&lt;br /&gt;Starting Code:&lt;BR&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.util.Scanner;&lt;br /&gt;/**&lt;br /&gt; * Simple Polyalphabetic Cryptography&lt;br /&gt; * &lt;br /&gt; * @Chris Thiel &lt;br /&gt; * @28 Feb 2009&lt;br /&gt; */&lt;br /&gt;public class VignereCipherStartingCode&lt;br /&gt;{&lt;br /&gt;    private static final String alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ";&lt;br /&gt;    private static int nextChar(String k, int i){&lt;br /&gt;        i=i%k.length();&lt;br /&gt;        String letter=k.substring(i,i+1);&lt;br /&gt;        return alphabet.indexOf(letter);&lt;br /&gt;    }&lt;br /&gt;    public static String encode (String m, String k){&lt;br /&gt;        String result="";&lt;br /&gt;        for (int i=0; i&amp;lt;m.length(); i++){&lt;br /&gt;            int offset=nextChar(k, i);&lt;br /&gt;            String letter = m.substring(i,i+1);&lt;br /&gt;            int newLetterIndex= alphabet.indexOf(letter)+offset;&lt;br /&gt;            newLetterIndex=newLetterIndex % 26;&lt;br /&gt;            result+=alphabet.substring( newLetterIndex, newLetterIndex+1);&lt;br /&gt;        }&lt;br /&gt;        return result;&lt;br /&gt;    }&lt;br /&gt;    public static String decode (String m, String k){&lt;br /&gt;        String result="";   &lt;br /&gt;        return result;&lt;br /&gt;    }&lt;br /&gt;    public static void main(String[] args)&lt;br /&gt;    {&lt;br /&gt;        Scanner kb=new Scanner(System.in);&lt;br /&gt;        System.out.print("Type a key: ");&lt;br /&gt;        String key=kb.nextLine();&lt;br /&gt;        key=key.toUpperCase();&lt;br /&gt;        key=key.replace(" ","");//omit spaces&lt;br /&gt;        System.out.print("Type a message: ");&lt;br /&gt;        String message=kb.nextLine();&lt;br /&gt;        message=message.toUpperCase();&lt;br /&gt;        message=message.replace(" ","");&lt;br /&gt;        System.out.println("Using the key \""+key+"\" on \""+message+"\":");&lt;br /&gt;        String codedMessage=encode(message,key);&lt;br /&gt;        System.out.println("Coded="+codedMessage);&lt;br /&gt;        System.out.println("Decoded="+decode(codedMessage,key));&lt;br /&gt;        System.out.println("Using the key 'LOVE' we encode 'BOOHOO' we should get 'MCJLZC' : "+encode("BOOHOO","LOVE"));&lt;br /&gt;        System.out.println("Using the key 'QUICK' we decode 'TOKMXEQ' we should get 'DUCKNOW': "+decode("TOKMXEQ","QUICK"));&lt;br /&gt;  &lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;8 points: Complete the decode method so it can decipher the Vignere Cipher&lt;br /&gt;&lt;LI&gt;9 points: Adapt this so it can do a Progressive Polyalphabetic Cipher rather than a key&lt;br /&gt;&lt;LI&gt;10 points: Adapt the CarTalk Employee Applet's graphic user interface so that you can type a message in one text area, press a button and it shows the encoded text (using the Progressive Cipher), press another button and it shows the decoded text.&lt;br /&gt;&lt;LI&gt;11 points: Add a "key field" to the Applet, and use the Vignere Cipher, working in a similiar fashion as the 10 point version&lt;br /&gt;&lt;/UL&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-8719247144316174345?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-14T16:35:00.765-07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_eMfXCzqw7nc/Scrkm1mcSFI/AAAAAAAAAKE/jZtWkAz4dEM/s72-c/Picture+167.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/YwbnigSgzNI/Cryptography.m4v" fileSize="402269209" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Starting Code: import java.util.Scanner; /** * Simple Polyalphabetic Cryptography * * @Chris Thiel * @28 Feb 2009 */ public class VignereCipherStartingCode { private static final String alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; private static int nextChar(S</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Starting Code: import java.util.Scanner; /** * Simple Polyalphabetic Cryptography * * @Chris Thiel * @28 Feb 2009 */ public class VignereCipherStartingCode { private static final String alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; private static int nextChar(String k, int i){ i=i%k.length(); String letter=k.substring(i,i+1); return alphabet.indexOf(letter); } public static String encode (String m, String k){ String result=""; for (int i=0; i&amp;lt;m.length(); i++){ int offset=nextChar(k, i); String letter = m.substring(i,i+1); int newLetterIndex= alphabet.indexOf(letter)+offset; newLetterIndex=newLetterIndex % 26; result+=alphabet.substring( newLetterIndex, newLetterIndex+1); } return result; } public static String decode (String m, String k){ String result=""; return result; } public static void main(String[] args) { Scanner kb=new Scanner(System.in); System.out.print("Type a key: "); String key=kb.nextLine(); key=key.toUpperCase(); key=key.replace(" ","");//omit spaces System.out.print("Type a message: "); String message=kb.nextLine(); message=message.toUpperCase(); message=message.replace(" ",""); System.out.println("Using the key \""+key+"\" on \""+message+"\":"); String codedMessage=encode(message,key); System.out.println("Coded="+codedMessage); System.out.println("Decoded="+decode(codedMessage,key)); System.out.println("Using the key 'LOVE' we encode 'BOOHOO' we should get 'MCJLZC' : "+encode("BOOHOO","LOVE")); System.out.println("Using the key 'QUICK' we decode 'TOKMXEQ' we should get 'DUCKNOW': "+decode("TOKMXEQ","QUICK")); } } 8 points: Complete the decode method so it can decipher the Vignere Cipher 9 points: Adapt this so it can do a Progressive Polyalphabetic Cipher rather than a key 10 points: Adapt the CarTalk Employee Applet's graphic user interface so that you can type a message in one text area, press a button and it shows the encoded text (using the Progressive Cipher), press another button and it shows the decoded text. 11 points: Add a "key field" to the Applet, and use the Vignere Cipher, working in a similiar fashion as the 10 point version </itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/02/cryptography.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/YwbnigSgzNI/Cryptography.m4v" length="402269209" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielCryptography/Cryptography.m4v</feedburner:origEnclosureLink></item><item><title>Cheater Catcher Project</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/pUBipqx8zrc/cheater-catcher-project.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 19 Jan 2009 20:40:51 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-8883152749049613391</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_eMfXCzqw7nc/SXVAj9MgEAI/AAAAAAAAAI8/gw8Y7l57x-k/s1600-h/Picture+75.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 296px; height: 167px;" src="http://3.bp.blogspot.com/_eMfXCzqw7nc/SXVAj9MgEAI/AAAAAAAAAI8/gw8Y7l57x-k/s400/Picture+75.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5293207923510480898" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Part 2: Organizing the report that shows possible plagiarism might require another data structure to sort.  Download the files you need to get started at &lt;a href="http://www.stfrank.com/CheaterCatcher.zip"&gt;here&lt;/a&gt;.  Click the title to see the video.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-8883152749049613391?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-19T20:40:51.812-08:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_eMfXCzqw7nc/SXVAj9MgEAI/AAAAAAAAAI8/gw8Y7l57x-k/s72-c/Picture+75.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/yuiajbvtLUE/CheaterCatcher.zip" fileSize="6123973" type="application/zip" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Part 2: Organizing the report that shows possible plagiarism might require another data structure to sort. Download the files you need to get started at here. Click the title to see the video.</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Part 2: Organizing the report that shows possible plagiarism might require another data structure to sort. Download the files you need to get started at here. Click the title to see the video.</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/01/cheater-catcher-project.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/yuiajbvtLUE/CheaterCatcher.zip" length="6123973" type="application/zip" /><feedburner:origEnclosureLink>http://www.stfrank.com/CheaterCatcher.zip</feedburner:origEnclosureLink></item><item><title>Cheater Catcher Intro</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/2uItO8XoCqs/cheater-catcher-intro.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 19 Jan 2009 17:39:57 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-3595946784993341476</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eMfXCzqw7nc/SXUF_YVExCI/AAAAAAAAAI0/kaqSfRblRJQ/s1600-h/Picture+74.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 192px;" src="http://1.bp.blogspot.com/_eMfXCzqw7nc/SXUF_YVExCI/AAAAAAAAAI0/kaqSfRblRJQ/s400/Picture+74.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5293143523464627234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;Overview of how to design a program that checks for patterns of matching words to detect plagiarism.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-3595946784993341476?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-19T17:39:57.305-08:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_eMfXCzqw7nc/SXUF_YVExCI/AAAAAAAAAI0/kaqSfRblRJQ/s72-c/Picture+74.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/vSZP9IV6sRQ/CheaterIntro.m4v" fileSize="132480501" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Overview of how to design a program that checks for patterns of matching words to detect plagiarism.</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Overview of how to design a program that checks for patterns of matching words to detect plagiarism.</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2009/01/cheater-catcher-intro.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/vSZP9IV6sRQ/CheaterIntro.m4v" length="132480501" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielCheaterCatcherIntro/CheaterIntro.m4v</feedburner:origEnclosureLink></item><item><title>Base Converter Solution</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/axrsCxhDqdU/base-converter-solution.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Fri, 26 Dec 2008 17:15:41 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-532463682155233249</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eMfXCzqw7nc/SVWBaNvpTHI/AAAAAAAAAIs/NGuzvuwNl2M/s1600-h/Picture+78.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 96px;" src="http://1.bp.blogspot.com/_eMfXCzqw7nc/SVWBaNvpTHI/AAAAAAAAAIs/NGuzvuwNl2M/s400/Picture+78.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5284272025155226738" /&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br&gt;&lt;P&gt;The solution to the "Base Converter" Lab is discussed&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-532463682155233249?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-26T17:15:41.351-08:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_eMfXCzqw7nc/SVWBaNvpTHI/AAAAAAAAAIs/NGuzvuwNl2M/s72-c/Picture+78.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/98bOq0unKGo/BaseConversion.m4v" fileSize="257861849" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> The solution to the "Base Converter" Lab is discussed</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> The solution to the "Base Converter" Lab is discussed</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/12/base-converter-solution.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/98bOq0unKGo/BaseConversion.m4v" length="257861849" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielBaseConvertersolution/BaseConversion.m4v</feedburner:origEnclosureLink></item><item><title>JUnit Testing</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/9JE55I-8Qr8/junit-testing.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Wed, 24 Dec 2008 21:38:52 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-4146947586629522292</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eMfXCzqw7nc/SVMcOz41SCI/AAAAAAAAAIk/8WZu97hNw3A/s1600-h/Picture+75.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 276px;" src="http://2.bp.blogspot.com/_eMfXCzqw7nc/SVMcOz41SCI/AAAAAAAAAIk/8WZu97hNw3A/s400/Picture+75.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5283597828608051234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;P&gt;&lt;br /&gt;&lt;br /&gt;&lt;P&gt;&lt;br /&gt;&lt;br /&gt;Writing code to test the code you want to write! Sounds crazy but it is the quick way to make sure the code does what you want it to!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-4146947586629522292?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-24T21:38:52.753-08:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/_eMfXCzqw7nc/SVMcOz41SCI/AAAAAAAAAIk/8WZu97hNw3A/s72-c/Picture+75.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/DVqYpXECpV8/JUnitTesting.m4v" fileSize="107185264" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Writing code to test the code you want to write! Sounds crazy but it is the quick way to make sure the code does what you want it to!</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Writing code to test the code you want to write! Sounds crazy but it is the quick way to make sure the code does what you want it to!</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/12/junit-testing.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/DVqYpXECpV8/JUnitTesting.m4v" length="107185264" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielJUnitTesting/JUnitTesting.m4v</feedburner:origEnclosureLink></item><item><title>MasterMind Game</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/7aA_-ob_Mqc/mastermind-game.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Wed, 12 Nov 2008 14:38:54 PST</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-697423883596592101</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eMfXCzqw7nc/SRtaZ40HjPI/AAAAAAAAAH0/VImOzj03nNc/s1600-h/Picture+59.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 277px; height: 400px;" src="http://4.bp.blogspot.com/_eMfXCzqw7nc/SRtaZ40HjPI/AAAAAAAAAH0/VImOzj03nNc/s400/Picture+59.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5267903589934140658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;BR&gt;&lt;P&gt;&lt;br /&gt;Using Graphic Input, arrays and ArrayLists we create a MasterMind Game Applet&lt;P&gt;&lt;br /&gt;You can get the source code at &lt;a href="http://www.stfrank.com/MasterMind/"&gt; http://www.stfrank.com/MasterMind/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-697423883596592101?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-12T14:38:54.888-08:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_eMfXCzqw7nc/SRtaZ40HjPI/AAAAAAAAAH0/VImOzj03nNc/s72-c/Picture+59.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/c-aNNyzlcHc/MasterMind.mp4" fileSize="93435929" type="video/mp4" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Using Graphic Input, arrays and ArrayLists we create a MasterMind Game Applet You can get the source code at http://www.stfrank.com/MasterMind/</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Using Graphic Input, arrays and ArrayLists we create a MasterMind Game Applet You can get the source code at http://www.stfrank.com/MasterMind/</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/11/mastermind-game.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/c-aNNyzlcHc/MasterMind.mp4" length="93435929" type="video/mp4" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielMasterMindGameinJava/MasterMind.mp4</feedburner:origEnclosureLink></item><item><title>Subclasses in Java</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/HL082H9ttzU/subclasses-in-java.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Wed, 22 Oct 2008 11:29:21 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-3379377617291567230</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eMfXCzqw7nc/SP9qoTaZZHI/AAAAAAAAAHs/rq2Kqtm_Mxk/s1600-h/Picture+47.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_eMfXCzqw7nc/SP9qoTaZZHI/AAAAAAAAAHs/rq2Kqtm_Mxk/s400/Picture+47.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260040130430329970" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br&gt;&lt;P&gt;See the Forest from the trees!&lt;br /&gt;Organize your objects into superclasses and subclasses&lt;br /&gt;&lt;P&gt;&lt;br /&gt;&lt;P&gt;&lt;P&gt;&lt;P&gt;&lt;br /&gt;&lt;h1&gt;The Code:&lt;/h1&gt;&lt;br /&gt;&lt;h3&gt;Before:&lt;/h3&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.awt.*;&lt;br /&gt;import java.applet.*;&lt;br /&gt;public class UglyForest extends Applet&lt;br /&gt;{&lt;br /&gt;   private int x=200;&lt;br /&gt;   private int y=200;&lt;br /&gt;   public int randomInt(int min, int max)&lt;br /&gt;    {&lt;br /&gt;        //precondition: min&amp;lt;max&lt;br /&gt;        return min+(int)((max-min)*Math.random());&lt;br /&gt;    }&lt;br /&gt;    public void paint(Graphics g)&lt;br /&gt;    {  &lt;br /&gt;      for(int x=50;x&lt;500;x+=120){&lt;br /&gt;        //trunk&lt;br /&gt;        Color brown=new Color(137,66,0);&lt;br /&gt;        g.setColor(brown);&lt;br /&gt;        g.fillRect(x-15,y,30, 30);&lt;br /&gt;       //leaves&lt;br /&gt;       g.setColor(Color.GREEN);&lt;br /&gt;        Polygon leaves= new Polygon();&lt;br /&gt;        for (int i=0;i&lt;100;i++)&lt;br /&gt;            leaves.addPoint(x+randomInt(-1*(80-i),80-i), y-randomInt(i,2*i));&lt;br /&gt;        g.fillPolygon(leaves);&lt;br /&gt;        //lights&lt;br /&gt;        for (int i=0;i&lt;50;i++){&lt;br /&gt;            g.setColor(new Color(randomInt(0,255), &lt;br /&gt;                                 randomInt(0,255),&lt;br /&gt;                                 randomInt(0,255)&lt;br /&gt;                                 ));&lt;br /&gt;            g.fillOval( x+randomInt(-1*(80-2*i),80-2*i), &lt;br /&gt;                        y-randomInt(i,4*i),&lt;br /&gt;                        10,10);&lt;br /&gt;        }&lt;br /&gt;      } &lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;After:&lt;/h3&gt;&lt;br /&gt;&lt;h2&gt;Forest.java&lt;/h2&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.awt.*;&lt;br /&gt;import java.applet.*;&lt;br /&gt;public class Forest extends Applet&lt;br /&gt;{&lt;br /&gt;    public void paint(Graphics g)&lt;br /&gt;    { &lt;br /&gt;       Tree myTree1=new Tree(g,200,120);&lt;br /&gt;       Tree myTree2=new Tree(g,120,200);&lt;br /&gt;       ChristmasTree myTree3=new ChristmasTree(g,400,300);&lt;br /&gt;       Tree myTree4=new Tree(g,300,400);  &lt;br /&gt;    }   &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h2&gt;Tree.java&lt;/h2&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.awt.*;&lt;br /&gt;public class Tree&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt; /**&lt;br /&gt;  * Constructor for objects of class Tree&lt;br /&gt;  */&lt;br /&gt; &lt;br /&gt; public Tree(Graphics g, int x,int y)&lt;br /&gt; {&lt;br /&gt;  // initialise instance variables&lt;br /&gt;     drawTrunk(g,x,y);&lt;br /&gt;        drawLeaves(g,x,y);&lt;br /&gt; }&lt;br /&gt; public void drawTrunk(Graphics g, int x, int y){&lt;br /&gt;        //trunk&lt;br /&gt;        Color brown=new Color(137,66,0);&lt;br /&gt;        g.setColor(brown);&lt;br /&gt;        g.fillRect(x-15,y,30, 30);&lt;br /&gt;    }&lt;br /&gt;     public void drawLeaves(Graphics g, int x, int y){&lt;br /&gt;        g.setColor(Color.GREEN);&lt;br /&gt;        Polygon leaves= new Polygon();&lt;br /&gt;        for (int i=0;i&lt;100;i++)&lt;br /&gt;            leaves.addPoint(x+randomInt(-1*(80-i),80-i), y-randomInt(i,2*i));&lt;br /&gt;        g.fillPolygon(leaves);&lt;br /&gt;    }&lt;br /&gt;    public int randomInt(int min, int max)&lt;br /&gt;    {&lt;br /&gt;        //precondition: min&amp;lt;max&lt;br /&gt;        return min+(int)((max-min)*Math.random());&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;ChristmasTree.java&lt;/h2&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.awt.*;&lt;br /&gt;public class ChristmasTree extends Tree&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt; public ChristmasTree(Graphics g,int x,int y) &lt;br /&gt; {&lt;br /&gt;  super(g,x,y);&lt;br /&gt;     drawLights(g,x,y);&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;    public void drawLights(Graphics g, int x, int y){&lt;br /&gt;       &lt;br /&gt;        for (int i=0;i&lt;50;i++){&lt;br /&gt;            g.setColor(new Color(randomInt(0,255), &lt;br /&gt;                                 randomInt(0,255),&lt;br /&gt;                                 randomInt(0,255)&lt;br /&gt;                                 ));&lt;br /&gt;            g.fillOval( x+randomInt(-1*(80-2*i),80-2*i), &lt;br /&gt;                        y-randomInt(i,4*i),&lt;br /&gt;                        10,10);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-3379377617291567230?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-22T11:29:21.887-07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_eMfXCzqw7nc/SP9qoTaZZHI/AAAAAAAAAHs/rq2Kqtm_Mxk/s72-c/Picture+47.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/04HhDedqsyI/Subclasses.m4v" fileSize="192595049" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> See the Forest from the trees! Organize your objects into superclasses and subclasses The Code: Before: import java.awt.*; import java.applet.*; public class UglyForest extends Applet { private int x=200; private int y=200; public int randomInt(int min, </itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> See the Forest from the trees! Organize your objects into superclasses and subclasses The Code: Before: import java.awt.*; import java.applet.*; public class UglyForest extends Applet { private int x=200; private int y=200; public int randomInt(int min, int max) { //precondition: min&amp;lt;max return min+(int)((max-min)*Math.random()); } public void paint(Graphics g) { for(int x=50;x After: Forest.java import java.awt.*; import java.applet.*; public class Forest extends Applet { public void paint(Graphics g) { Tree myTree1=new Tree(g,200,120); Tree myTree2=new Tree(g,120,200); ChristmasTree myTree3=new ChristmasTree(g,400,300); Tree myTree4=new Tree(g,300,400); } } Tree.java import java.awt.*; public class Tree { /** * Constructor for objects of class Tree */ public Tree(Graphics g, int x,int y) { // initialise instance variables drawTrunk(g,x,y); drawLeaves(g,x,y); } public void drawTrunk(Graphics g, int x, int y){ //trunk Color brown=new Color(137,66,0); g.setColor(brown); g.fillRect(x-15,y,30, 30); } public void drawLeaves(Graphics g, int x, int y){ g.setColor(Color.GREEN); Polygon leaves= new Polygon(); for (int i=0;i ChristmasTree.java import java.awt.*; public class ChristmasTree extends Tree { public ChristmasTree(Graphics g,int x,int y) { super(g,x,y); drawLights(g,x,y); } public void drawLights(Graphics g, int x, int y){ for (int i=0;i</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/10/subclasses-in-java.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/04HhDedqsyI/Subclasses.m4v" length="192595049" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielSubclassesinJava/Subclasses.m4v</feedburner:origEnclosureLink></item><item><title>Card Class Part 2: Using a Test Class</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/7kESRHvJ1nM/card-class-part-2-using-test-class.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 27 Sep 2008 17:00:23 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-1285620133879174899</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eMfXCzqw7nc/SN7HCgWzOnI/AAAAAAAAAG8/oMypQEFPdrA/s1600-h/Picture+19.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_eMfXCzqw7nc/SN7HCgWzOnI/AAAAAAAAAG8/oMypQEFPdrA/s400/Picture+19.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5250853061419809394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br&gt;Using a test class as you write mew methods to the Card Class&lt;br&gt;&lt;br /&gt;&lt;a href="http://www.stfrank.com/CardLab1_war.html"&gt;Code is at http://www.stfrank.com/CardLab1_war.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-1285620133879174899?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-27T17:00:23.619-07:00</app:edited><media:thumbnail url="http://2.bp.blogspot.com/_eMfXCzqw7nc/SN7HCgWzOnI/AAAAAAAAAG8/oMypQEFPdrA/s72-c/Picture+19.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/34KtKXbKGgw/ACardClassPart2.m4v" fileSize="362480531" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Using a test class as you write mew methods to the Card Class Code is at http://www.stfrank.com/CardLab1_war.html</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Using a test class as you write mew methods to the Card Class Code is at http://www.stfrank.com/CardLab1_war.html</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/09/card-class-part-2-using-test-class.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/34KtKXbKGgw/ACardClassPart2.m4v" length="362480531" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielACardClassPart2/ACardClassPart2.m4v</feedburner:origEnclosureLink></item><item><title>OOP: A class for Playing Cards Part 1</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/Wgk0Dza5H2g/oop-class-for-playing-cards-part-1.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Tue, 23 Sep 2008 21:02:33 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-8259045366852890670</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eMfXCzqw7nc/SNm42CBEJBI/AAAAAAAAAG0/0jqxajSlzys/s1600-h/Picture+18.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_eMfXCzqw7nc/SNm42CBEJBI/AAAAAAAAAG0/0jqxajSlzys/s400/Picture+18.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5249430079070807058" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br&gt;A Class to represent an object is explained&lt;br&gt;&lt;br /&gt;Full code and a lab to try at &lt;a href="http://www.stfrank.com/CardLab1_war.html"&gt;StFrank.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-8259045366852890670?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-23T21:02:33.229-07:00</app:edited><media:thumbnail url="http://4.bp.blogspot.com/_eMfXCzqw7nc/SNm42CBEJBI/AAAAAAAAAG0/0jqxajSlzys/s72-c/Picture+18.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/G-aBVirGJdQ/ACardClassPart1.m4v" fileSize="350094752" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> A Class to represent an object is explained Full code and a lab to try at StFrank.com</itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> A Class to represent an object is explained Full code and a lab to try at StFrank.com</itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/09/oop-class-for-playing-cards-part-1.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/G-aBVirGJdQ/ACardClassPart1.m4v" length="350094752" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielOOP_Acardclass/ACardClassPart1.m4v</feedburner:origEnclosureLink></item><item><title>Eclipse Debugger Demo</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/BnpqXh0VkJ0/eclipse-debugger-demo.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Mon, 22 Sep 2008 01:20:24 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-2625573422222725619</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_eMfXCzqw7nc/SNdQuNH1P0I/AAAAAAAAAGs/J8SSiJvsQdU/s1600-h/Picture+16.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_eMfXCzqw7nc/SNdQuNH1P0I/AAAAAAAAAGs/J8SSiJvsQdU/s400/Picture+16.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5248752645450317634" /&gt;&lt;/a&gt;&lt;br /&gt;How to use the Eclipse Debugger&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-2625573422222725619?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-22T01:20:24.527-07:00</app:edited><media:thumbnail url="http://3.bp.blogspot.com/_eMfXCzqw7nc/SNdQuNH1P0I/AAAAAAAAAGs/J8SSiJvsQdU/s72-c/Picture+16.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/Y9nGZRM18pw/EclipseDebugger.m4v" fileSize="42057500" type="video/x-m4v" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> How to use the Eclipse Debugger </itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> How to use the Eclipse Debugger </itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/09/eclipse-debugger-demo.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/Y9nGZRM18pw/EclipseDebugger.m4v" length="42057500" type="video/x-m4v" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielUsingtheEclipseDebugger/EclipseDebugger.m4v</feedburner:origEnclosureLink></item><item><title>BlueJ Debugger</title><link>http://feedproxy.google.com/~r/ApcsJava/~3/RpmckS9M0F0/bluej-debugger.html</link><author>noreply@blogger.com (Chris Thiel)</author><pubDate>Sat, 20 Sep 2008 18:46:00 PDT</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-8832228112434765776.post-3871718491827345478</guid><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eMfXCzqw7nc/SNWnQCgV7CI/AAAAAAAAAGk/M135XTpIKlc/s1600-h/Picture+14.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_eMfXCzqw7nc/SNWnQCgV7CI/AAAAAAAAAGk/M135XTpIKlc/s400/Picture+14.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5248284834762452002" /&gt;&lt;/a&gt;&lt;br /&gt;Use the BlueJ Debugger to find out what is going on!&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8832228112434765776-3871718491827345478?l=apcsjava.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-20T18:46:00.478-07:00</app:edited><media:thumbnail url="http://1.bp.blogspot.com/_eMfXCzqw7nc/SNWnQCgV7CI/AAAAAAAAAGk/M135XTpIKlc/s72-c/Picture+14.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/ApcsJava/~5/p0Hm3i8RTSk/BlueJDebugger.mp4" fileSize="22480383" type="video/mp4" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Use the BlueJ Debugger to find out what is going on! </itunes:subtitle><itunes:author>Chris Thiel</itunes:author><itunes:summary> Use the BlueJ Debugger to find out what is going on! </itunes:summary><itunes:keywords>apcs,compsci,OOP,java,Java,computer,Science</itunes:keywords><feedburner:origLink>http://apcsjava.blogspot.com/2008/09/bluej-debugger.html</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/ApcsJava/~5/p0Hm3i8RTSk/BlueJDebugger.mp4" length="22480383" type="video/mp4" /><feedburner:origEnclosureLink>http://www.archive.org/download/ChrisThielBlueJDebugger/BlueJDebugger.mp4</feedburner:origEnclosureLink></item><copyright>(c)2008 Chris Thiel</copyright><media:credit role="author">Chris Thiel</media:credit><media:rating>nonadult</media:rating></channel></rss>

