<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:dc="https://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[BP Forums - Programming Help]]></title>
		<link>https://bpforums.info/</link>
		<description><![CDATA[BP Forums - https://bpforums.info]]></description>
		<pubDate>Wed, 29 Apr 2026 08:20:04 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Draw on JPanel]]></title>
			<link>https://bpforums.info/showthread.php?tid=829</link>
			<pubDate>Thu, 10 Apr 2014 11:55:45 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=577">yomarius95</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=829</guid>
			<description><![CDATA[Can someone explaine to me how to draw on JPanel?<br />
I want to make the snake game a runnable jar.<br />
<br />
<br />
Here is the Project archive.<br />
<a href="https://www.dropbox.com/s/hp7ga6mce34uu1g/Snake0.jar" target="_blank" rel="noopener" class="mycode_url">https://www.dropbox.com/s/hp7ga6mce34uu1g/Snake0.jar</a><br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Can someone explaine to me how to draw on JPanel?<br />
I want to make the snake game a runnable jar.<br />
<br />
<br />
Here is the Project archive.<br />
<a href="https://www.dropbox.com/s/hp7ga6mce34uu1g/Snake0.jar" target="_blank" rel="noopener" class="mycode_url">https://www.dropbox.com/s/hp7ga6mce34uu1g/Snake0.jar</a><br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Making a random int]]></title>
			<link>https://bpforums.info/showthread.php?tid=826</link>
			<pubDate>Sun, 23 Mar 2014 11:52:50 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=1058">mustafa6155</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=826</guid>
			<description><![CDATA[Hello I've got this code, and I hope you can help me out a little bit.<br />
[code2=java]import java.util.Random;<br />
public class objectIntro {<br />
<br />
	public static void main(String[] args)<br />
	{<br />
		String a = "blabla";<br />
		String b = "lala";<br />
		Random weight = new Random();<br />
		//Random rnd = new Random();<br />
		//System.out.println("The weight is: " + rnd.weight(100));<br />
		if(weight &lt;= 55)<br />
		{<br />
			System.out.println(b + "is slimmer then: "+ a);<br />
		}else if(weight &gt;= 80)<br />
		{<br />
			System.out.println(a + " is fatter then: "+ b);<br />
		}<br />
		<br />
	}<br />
<br />
}[/code2]<br />
<br />
So what does not work?<br />
I want to make the weight int. random and later it can show who is fatter/smaller.<br />
Like the output:<br />
<br />
The weight it: (random generated) 83<br />
blabla is fatter then lala<br />
<br />
please help me.<br />
<br />
GRTZ,<br />
- mustafa6155]]></description>
			<content:encoded><![CDATA[Hello I've got this code, and I hope you can help me out a little bit.<br />
[code2=java]import java.util.Random;<br />
public class objectIntro {<br />
<br />
	public static void main(String[] args)<br />
	{<br />
		String a = "blabla";<br />
		String b = "lala";<br />
		Random weight = new Random();<br />
		//Random rnd = new Random();<br />
		//System.out.println("The weight is: " + rnd.weight(100));<br />
		if(weight &lt;= 55)<br />
		{<br />
			System.out.println(b + "is slimmer then: "+ a);<br />
		}else if(weight &gt;= 80)<br />
		{<br />
			System.out.println(a + " is fatter then: "+ b);<br />
		}<br />
		<br />
	}<br />
<br />
}[/code2]<br />
<br />
So what does not work?<br />
I want to make the weight int. random and later it can show who is fatter/smaller.<br />
Like the output:<br />
<br />
The weight it: (random generated) 83<br />
blabla is fatter then lala<br />
<br />
please help me.<br />
<br />
GRTZ,<br />
- mustafa6155]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Drunk_Snake Game PLEASE HELP!!]]></title>
			<link>https://bpforums.info/showthread.php?tid=820</link>
			<pubDate>Sun, 29 Dec 2013 12:16:49 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=984">andre2pi</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=820</guid>
			<description><![CDATA[Hello everyone! I'm trying to implement a funny version of the snake game posted on youtube by brandonioproduction , and I'm kind of stucked. The idea is to make the snake wobble after eating some fruits ( that in the end will be changed to beers &lt;!-- s<img src="https://bpforums.info/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /> --&gt;&lt;img src="{SMILIES_PATH}/icon_e_wink.gif" alt="<img src="https://bpforums.info/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />" title="Wink" /&gt;&lt;!-- s<img src="https://bpforums.info/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /> --&gt; ) <br />
so by the move() when the snake is going direction.NORTH for example , the coordinates are (head.x , head.y -1) so it goes straight up. <br />
I have to implement something that changes the head.x like this: <br />
<br />
case Direction.NORTH:<br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">-1</span>, head.y - 1);<br />
then<br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">+1</span>, head.y - 1);<br />
then<br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">-1</span>, head.y - 1);<br />
then <br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">+1</span>, head.y - 1);<br />
<br />
so you get the idea here. The snake would zigzag in x axis when moving vertically. and of course also would zigzag in the y axis when going horizontally.<br />
<br />
Any Ideas are very welcome !!<br />
cheers!]]></description>
			<content:encoded><![CDATA[Hello everyone! I'm trying to implement a funny version of the snake game posted on youtube by brandonioproduction , and I'm kind of stucked. The idea is to make the snake wobble after eating some fruits ( that in the end will be changed to beers &lt;!-- s<img src="https://bpforums.info/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /> --&gt;&lt;img src="{SMILIES_PATH}/icon_e_wink.gif" alt="<img src="https://bpforums.info/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />" title="Wink" /&gt;&lt;!-- s<img src="https://bpforums.info/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /> --&gt; ) <br />
so by the move() when the snake is going direction.NORTH for example , the coordinates are (head.x , head.y -1) so it goes straight up. <br />
I have to implement something that changes the head.x like this: <br />
<br />
case Direction.NORTH:<br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">-1</span>, head.y - 1);<br />
then<br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">+1</span>, head.y - 1);<br />
then<br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">-1</span>, head.y - 1);<br />
then <br />
newPoint = new Point(head.x <span style="font-weight: bold;" class="mycode_b">+1</span>, head.y - 1);<br />
<br />
so you get the idea here. The snake would zigzag in x axis when moving vertically. and of course also would zigzag in the y axis when going horizontally.<br />
<br />
Any Ideas are very welcome !!<br />
cheers!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to export Snake Game as a Runnable JAR file?]]></title>
			<link>https://bpforums.info/showthread.php?tid=818</link>
			<pubDate>Wed, 20 Nov 2013 06:01:26 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=813">bedigursimran</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=818</guid>
			<description><![CDATA[Hi Guys.<br />
<br />
I got the snake Game working great and I made a few changes to it too. And I was wondering if there is any way that I can save this as a 'Runnable Jar' file, so I can give it to my friend and try it without having Eclipse. Because it always give me an error like "couldn't find the main". I looked in the code provided by BrandonioProductions as well, and there wasn't any 'public static void main(String[] args)'.<br />
<br />
Thanks,<br />
Any help would be appreciated<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[Hi Guys.<br />
<br />
I got the snake Game working great and I made a few changes to it too. And I was wondering if there is any way that I can save this as a 'Runnable Jar' file, so I can give it to my friend and try it without having Eclipse. Because it always give me an error like "couldn't find the main". I looked in the code provided by BrandonioProductions as well, and there wasn't any 'public static void main(String[] args)'.<br />
<br />
Thanks,<br />
Any help would be appreciated<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help finding problem]]></title>
			<link>https://bpforums.info/showthread.php?tid=817</link>
			<pubDate>Tue, 22 Oct 2013 20:09:54 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=739">gfb</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=817</guid>
			<description><![CDATA[I have been following these tutorials but I can't seem to find the problem. I changed some names just so that it makes me think a little more.<br />
Here is what i have:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>public class digitextractor {<br />
&nbsp;&nbsp;&nbsp;&nbsp;int number = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;String snumber = "";<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public digitextractor(int numberSequence) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int number = numberSequence;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public digitextractor(String numberSequence){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;snumber = numberSequence;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;public void returnorder(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer1 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer2 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer3 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer4 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer5 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer1 = (number % 10);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer2 = (number % 100) / 10;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer3 = (number % 1000) / 100;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer4 = (number % 10000) / 1000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer5 = (number % 100000) / 10000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(integer1 + "&#92;n" + integer2 + "&#92;n" + <br />
&nbsp;&nbsp;&nbsp;&nbsp;integer3 + "&#92;n" + integer4 + "&#92;n" + integer5);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public void returnorderThroughString(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part2;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part3;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part4;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part1 = snumber.charAt(4);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part2 = snumber.charAt(3);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part3 = snumber.charAt(2);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part4 = snumber.charAt(1);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part5 = snumber.charAt(0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(part1 + "&#92;n" + part2 + "&#92;n" + part3 + "&#92;n" + part4 + "&#92;n" + part5);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>import java.util.Scanner;<br />
public class digitfinished {<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;static Scanner input = new Scanner(System.in);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;public static void main(String[] args) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// process starts<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Welcome to this thing." + "&#92;n" + "Enter your number");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String in = input.nextLine();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;digitextractor product = new digitextractor(Integer.parseInt(in));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product.returnorderThroughString();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Using Strings");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;digitextractor output = new digitextractor(in);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;output.returnorderThroughString();<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
}</code></div></div>]]></description>
			<content:encoded><![CDATA[I have been following these tutorials but I can't seem to find the problem. I changed some names just so that it makes me think a little more.<br />
Here is what i have:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>public class digitextractor {<br />
&nbsp;&nbsp;&nbsp;&nbsp;int number = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;String snumber = "";<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public digitextractor(int numberSequence) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int number = numberSequence;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public digitextractor(String numberSequence){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;snumber = numberSequence;<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;public void returnorder(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer1 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer2 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer3 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer4 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int integer5 = 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer1 = (number % 10);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer2 = (number % 100) / 10;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer3 = (number % 1000) / 100;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer4 = (number % 10000) / 1000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integer5 = (number % 100000) / 10000;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(integer1 + "&#92;n" + integer2 + "&#92;n" + <br />
&nbsp;&nbsp;&nbsp;&nbsp;integer3 + "&#92;n" + integer4 + "&#92;n" + integer5);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;public void returnorderThroughString(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part2;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part3;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part4;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;char part5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part1 = snumber.charAt(4);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part2 = snumber.charAt(3);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part3 = snumber.charAt(2);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part4 = snumber.charAt(1);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;part5 = snumber.charAt(0);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(part1 + "&#92;n" + part2 + "&#92;n" + part3 + "&#92;n" + part4 + "&#92;n" + part5);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>import java.util.Scanner;<br />
public class digitfinished {<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;static Scanner input = new Scanner(System.in);<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;public static void main(String[] args) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// process starts<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Welcome to this thing." + "&#92;n" + "Enter your number");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String in = input.nextLine();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;digitextractor product = new digitextractor(Integer.parseInt(in));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product.returnorderThroughString();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Using Strings");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;digitextractor output = new digitextractor(in);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;output.returnorderThroughString();<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
}</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[NumberFormatException with Snake]]></title>
			<link>https://bpforums.info/showthread.php?tid=812</link>
			<pubDate>Mon, 16 Sep 2013 11:04:17 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=662">Timkat1994</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=812</guid>
			<description><![CDATA[Hi! I'm following the 8th video of the Snake tutorial and I seem to have missed something and/or completely screwed up. I just started trying to learn Java today and after watching the Tutorials I got started on following the Snake videos. I learn well by example, so these have all been fantastic. I've been at it for hours now, and I can't seem to find what I've done wrong here. The file on the snake page here doesn't have the High Score part added, otherwise I would compare that and mine. Any help would be much appreciated! <br />
<br />
Here is the error message:<br />
<br />
<span style="color: #FF0040;" class="mycode_color">Exception in thread "Thread-3" java.lang.NumberFormatException: For input string: " 40"<br />
	at java.lang.NumberFormatException.forInputString(Unknown Source)<br />
	at java.lang.Integer.parseInt(Unknown Source)<br />
	at java.lang.Integer.parseInt(Unknown Source)<br />
	at snakeCanvas.CheckScore(snakeCanvas.java:175)<br />
	at snakeCanvas.Move(snakeCanvas.java:142)<br />
	at snakeCanvas.run(snakeCanvas.java:267)<br />
	at java.lang.Thread.run(Unknown Source)</span><br />
<br />
Here is my progress:<br />
&lt;!-- m --&gt;&lt;a class="postlink" href="http://pastebin.com/w7zjJ1fe"&gt;http://pastebin.com/w7zjJ1fe&lt;/a&gt;&lt;!-- m --&gt;]]></description>
			<content:encoded><![CDATA[Hi! I'm following the 8th video of the Snake tutorial and I seem to have missed something and/or completely screwed up. I just started trying to learn Java today and after watching the Tutorials I got started on following the Snake videos. I learn well by example, so these have all been fantastic. I've been at it for hours now, and I can't seem to find what I've done wrong here. The file on the snake page here doesn't have the High Score part added, otherwise I would compare that and mine. Any help would be much appreciated! <br />
<br />
Here is the error message:<br />
<br />
<span style="color: #FF0040;" class="mycode_color">Exception in thread "Thread-3" java.lang.NumberFormatException: For input string: " 40"<br />
	at java.lang.NumberFormatException.forInputString(Unknown Source)<br />
	at java.lang.Integer.parseInt(Unknown Source)<br />
	at java.lang.Integer.parseInt(Unknown Source)<br />
	at snakeCanvas.CheckScore(snakeCanvas.java:175)<br />
	at snakeCanvas.Move(snakeCanvas.java:142)<br />
	at snakeCanvas.run(snakeCanvas.java:267)<br />
	at java.lang.Thread.run(Unknown Source)</span><br />
<br />
Here is my progress:<br />
&lt;!-- m --&gt;&lt;a class="postlink" href="http://pastebin.com/w7zjJ1fe"&gt;http://pastebin.com/w7zjJ1fe&lt;/a&gt;&lt;!-- m --&gt;]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[the snake game don't like me.]]></title>
			<link>https://bpforums.info/showthread.php?tid=807</link>
			<pubDate>Thu, 22 Aug 2013 17:10:28 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=207">Aaron Rogers118</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=807</guid>
			<description><![CDATA[I keep geting this error message: <br />
<br />
<span style="color: #FF0000;" class="mycode_color">Exception in thread "Thread-3"</span> <span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">java.lang.ArrayIndexOutOfBoundsException</span></span><span style="color: #FF0000;" class="mycode_color">: 1</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at Snake.snakeCanvas.CheckScore(</span><span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">snakeCanvas.java:173</span></span><span style="color: #FF0000;" class="mycode_color">)</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at Snake.snakeCanvas.Move(</span><span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">snakeCanvas.java:156</span></span><span style="color: #FF0000;" class="mycode_color">)</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at Snake.snakeCanvas.run(</span><span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">snakeCanvas.java:288</span></span><span style="color: #FF0000;" class="mycode_color">)</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at java.lang.Thread.run(Unknown Source)</span><br />
<br />
Can anyone help?]]></description>
			<content:encoded><![CDATA[I keep geting this error message: <br />
<br />
<span style="color: #FF0000;" class="mycode_color">Exception in thread "Thread-3"</span> <span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">java.lang.ArrayIndexOutOfBoundsException</span></span><span style="color: #FF0000;" class="mycode_color">: 1</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at Snake.snakeCanvas.CheckScore(</span><span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">snakeCanvas.java:173</span></span><span style="color: #FF0000;" class="mycode_color">)</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at Snake.snakeCanvas.Move(</span><span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">snakeCanvas.java:156</span></span><span style="color: #FF0000;" class="mycode_color">)</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at Snake.snakeCanvas.run(</span><span style="color: #4000FF;" class="mycode_color"><span style="text-decoration: underline;" class="mycode_u">snakeCanvas.java:288</span></span><span style="color: #FF0000;" class="mycode_color">)</span><br />
<br />
<span style="color: #FF0000;" class="mycode_color">at java.lang.Thread.run(Unknown Source)</span><br />
<br />
Can anyone help?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Button]]></title>
			<link>https://bpforums.info/showthread.php?tid=783</link>
			<pubDate>Fri, 10 May 2013 14:22:44 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=207">Aaron Rogers118</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=783</guid>
			<description><![CDATA[I've got the window and the back buffer setup, but how do I make the buttons, where do I put it in the class which class do I put it in, and how do I set the location?]]></description>
			<content:encoded><![CDATA[I've got the window and the back buffer setup, but how do I make the buttons, where do I put it in the class which class do I put it in, and how do I set the location?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help with the java code]]></title>
			<link>https://bpforums.info/showthread.php?tid=778</link>
			<pubDate>Wed, 01 May 2013 14:12:23 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=459">Helljbb1234</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=778</guid>
			<description><![CDATA[I need help this has to be before mothers day.  Can anyone tell me the java code so I can make java read an audio file or is it the same as making it read a text file I am using eclipse]]></description>
			<content:encoded><![CDATA[I need help this has to be before mothers day.  Can anyone tell me the java code so I can make java read an audio file or is it the same as making it read a text file I am using eclipse]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Calculator]]></title>
			<link>https://bpforums.info/showthread.php?tid=776</link>
			<pubDate>Mon, 29 Apr 2013 03:05:43 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=207">Aaron Rogers118</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=776</guid>
			<description><![CDATA[I'm slowly learning java, mostly from Brandonio21's videos, and I have run into a problem. I need to know what I need to do with this code:<br />
[code2=java]package howto;<br />
<br />
import javax.swing.JOptionPane;<br />
<br />
public class Calculator {<br />
	<br />
	public static void main(String[] args)<br />
	{<br />
		JOptionPane myIO = new JOptionPane();<br />
		double inputText = myIO.showInputDialog("Please enter length:");<br />
		double lingth = inputText;<br />
		double inputText1 = myIO.showInputDialog("Please enter length:");<br />
		double width = inputText1;<br />
		<br />
		double area = (lingth * width) / 2;<br />
		<br />
		JOptionPane.showMessageDialog(null, "The area of the triangle is: " + area);<br />
	}<br />
}[/code2] <br />
I need help soon because it is for a school project called "How to".]]></description>
			<content:encoded><![CDATA[I'm slowly learning java, mostly from Brandonio21's videos, and I have run into a problem. I need to know what I need to do with this code:<br />
[code2=java]package howto;<br />
<br />
import javax.swing.JOptionPane;<br />
<br />
public class Calculator {<br />
	<br />
	public static void main(String[] args)<br />
	{<br />
		JOptionPane myIO = new JOptionPane();<br />
		double inputText = myIO.showInputDialog("Please enter length:");<br />
		double lingth = inputText;<br />
		double inputText1 = myIO.showInputDialog("Please enter length:");<br />
		double width = inputText1;<br />
		<br />
		double area = (lingth * width) / 2;<br />
		<br />
		JOptionPane.showMessageDialog(null, "The area of the triangle is: " + area);<br />
	}<br />
}[/code2] <br />
I need help soon because it is for a school project called "How to".]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mobile Development]]></title>
			<link>https://bpforums.info/showthread.php?tid=770</link>
			<pubDate>Sun, 07 Apr 2013 14:48:51 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=448">dmarks2061</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=770</guid>
			<description><![CDATA[I want to do some 'droid development and I'm looking for the best way to get up to speed quickly. Everybody says Java is the way to go, but I'd like to find a 'trail' that will get me there. "There's an app for that," right? I want to write some of those apps and publish them in the Play Store. Any suggestions?]]></description>
			<content:encoded><![CDATA[I want to do some 'droid development and I'm looking for the best way to get up to speed quickly. Everybody says Java is the way to go, but I'd like to find a 'trail' that will get me there. "There's an app for that," right? I want to write some of those apps and publish them in the Play Store. Any suggestions?]]></content:encoded>
		</item>
	</channel>
</rss>