<?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 - Java]]></title>
		<link>https://bpforums.info/</link>
		<description><![CDATA[BP Forums - https://bpforums.info]]></description>
		<pubDate>Tue, 05 May 2026 03:30:39 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Question]]></title>
			<link>https://bpforums.info/showthread.php?tid=827</link>
			<pubDate>Fri, 28 Mar 2014 20:53:29 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=1070">mchfphr</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=827</guid>
			<description><![CDATA[Hey everyone,<br />
<br />
I've firstly started programming in C, and in C there's a great website that displays all of the basic libraries you can use, and covers all the parameters and examples of usage for any basic function(method) - <a href="http://www.cplusplus.com/reference/" target="_blank" rel="noopener" class="mycode_url">http://www.cplusplus.com/reference/</a>.<br />
<br />
Basically I'm looking for a similar website for java, I want to know about what functions can be found so I can look into the options available in Java.<br />
<br />
Thanks in advance,<br />
Kfir.]]></description>
			<content:encoded><![CDATA[Hey everyone,<br />
<br />
I've firstly started programming in C, and in C there's a great website that displays all of the basic libraries you can use, and covers all the parameters and examples of usage for any basic function(method) - <a href="http://www.cplusplus.com/reference/" target="_blank" rel="noopener" class="mycode_url">http://www.cplusplus.com/reference/</a>.<br />
<br />
Basically I'm looking for a similar website for java, I want to know about what functions can be found so I can look into the options available in Java.<br />
<br />
Thanks in advance,<br />
Kfir.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Double Clickable]]></title>
			<link>https://bpforums.info/showthread.php?tid=814</link>
			<pubDate>Thu, 10 Oct 2013 00:15:21 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=708">justindude</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=814</guid>
			<description><![CDATA[How does one make a double clickable jar file so that it opens when you double click it and you don't have to go to the cmd to type java -jar jarfile.jar to send to people without jdk?]]></description>
			<content:encoded><![CDATA[How does one make a double clickable jar file so that it opens when you double click it and you don't have to go to the cmd to type java -jar jarfile.jar to send to people without jdk?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Platformer game]]></title>
			<link>https://bpforums.info/showthread.php?tid=802</link>
			<pubDate>Sat, 10 Aug 2013 18:03:28 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=589">stefanbanu</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=802</guid>
			<description><![CDATA[hello everyone, i followed the series on the channel, the one with 3 episodes, how can i finish the game, i made the level editor and i liked so much the way it was explained, i want to finish the game,<br />
can anyone help me please?and understand at the same time.<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[hello everyone, i followed the series on the channel, the one with 3 episodes, how can i finish the game, i made the level editor and i liked so much the way it was explained, i want to finish the game,<br />
can anyone help me please?and understand at the same time.<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Java Game  Help]]></title>
			<link>https://bpforums.info/showthread.php?tid=798</link>
			<pubDate>Mon, 29 Jul 2013 00:21:13 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=570">ThreeLeBlancs</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=798</guid>
			<description><![CDATA[Hello! I am creating my own game in java. I want to have it so it gives you choices and if you say left, there is a different option for it than if you typed right. When the first line of code pops up in the console, I can type, the same for second and the third, but when I want to type Left I can't type anything. Here is my code. Also I am using Eclipse. The same program that BrandonioProductions uses. Also you probably know his youtube is but here it is anyways. &lt;!-- w --&gt;&lt;a class="postlink" href="http://www.youtube.com/user/BrandonioProductions"&gt;www.youtube.com/user/BrandonioProductions&lt;/a&gt;&lt;!-- w --&gt;<br />
========================================================<br />
<br />
import java.util.Scanner;<br />
public class Island {<br />
	<br />
	static Scanner sc = new Scanner(System.in);<br />
	public static void main(String[] args) throws InterruptedException{<br />
		System.out.println("You awake to find yourself on an island in the middle of the sea.");<br />
		Thread.sleep(3000);<br />
		System.out.println("You then walk around the island, in which you find two paths.");<br />
		Thread.sleep(3000);<br />
		System.out.println("Choose from the left cobble path, or the right class path.");<br />
	}<br />
	<br />
	public String message;<br />
	<br />
	public Island() {<br />
		if (message.equals("Left"));<br />
				System.out.println("You then walk down the left path.");<br />
	}<br />
	<br />
	<br />
	<br />
}]]></description>
			<content:encoded><![CDATA[Hello! I am creating my own game in java. I want to have it so it gives you choices and if you say left, there is a different option for it than if you typed right. When the first line of code pops up in the console, I can type, the same for second and the third, but when I want to type Left I can't type anything. Here is my code. Also I am using Eclipse. The same program that BrandonioProductions uses. Also you probably know his youtube is but here it is anyways. &lt;!-- w --&gt;&lt;a class="postlink" href="http://www.youtube.com/user/BrandonioProductions"&gt;www.youtube.com/user/BrandonioProductions&lt;/a&gt;&lt;!-- w --&gt;<br />
========================================================<br />
<br />
import java.util.Scanner;<br />
public class Island {<br />
	<br />
	static Scanner sc = new Scanner(System.in);<br />
	public static void main(String[] args) throws InterruptedException{<br />
		System.out.println("You awake to find yourself on an island in the middle of the sea.");<br />
		Thread.sleep(3000);<br />
		System.out.println("You then walk around the island, in which you find two paths.");<br />
		Thread.sleep(3000);<br />
		System.out.println("Choose from the left cobble path, or the right class path.");<br />
	}<br />
	<br />
	public String message;<br />
	<br />
	public Island() {<br />
		if (message.equals("Left"));<br />
				System.out.println("You then walk down the left path.");<br />
	}<br />
	<br />
	<br />
	<br />
}]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Digit Extractor Help]]></title>
			<link>https://bpforums.info/showthread.php?tid=795</link>
			<pubDate>Fri, 28 Jun 2013 19:12:37 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=509">MPratik</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=795</guid>
			<description><![CDATA[I tried to give the user a choice of which one they would like so I created a new scanner to take the input, and created a new string for it and then i created an if statement that took either "A" or "a" (if (in2 = "A" + "a") ) and then I made another one, an else if with the same method, and then i wrote an else if they wrote something else all together. But whenever I input either A, a or B, b, it will just show the else option.<br />
The code is below in case you didn't understand what I was trying to say: <br />
[code2=java]import java.util.Scanner;<br />
public class DigitExtratorTester {<br />
<br />
	static Scanner input = new Scanner(System.in);<br />
	static Scanner input2 = new Scanner(System.in);<br />
	<br />
	public static void main(String[] args) <br />
	{<br />
		System.out.println("Welcome to the Digit Extractor. Please enter 5 digits of your choice:");<br />
		String in = input.nextLine();<br />
		System.out.println("Would you like it done either" + "\n" + "A) Mathematically" + "\n" + "or B)Conceptually?" + " \n" + "*Please choose either A or B*");<br />
		String in2 = input2.nextLine();<br />
		if (in2 == "A")<br />
		{<br />
			DigitExtractor demath = new DigitExtractor(Integer.parseInt(in));<br />
			demath.ReturnInvertedOrderByMath();<br />
		}<br />
		else if (in2 == "B")<br />
		{<br />
			DigitExtractor deconceptual = new DigitExtractor(in);<br />
			deconceptual.ReturnInvertedOrderByString();<br />
		}<br />
		else<br />
		{<br />
			System.out.println("You done goof my friend!");<br />
		}<br />
		<br />
	}<br />
<br />
}[/code2]]]></description>
			<content:encoded><![CDATA[I tried to give the user a choice of which one they would like so I created a new scanner to take the input, and created a new string for it and then i created an if statement that took either "A" or "a" (if (in2 = "A" + "a") ) and then I made another one, an else if with the same method, and then i wrote an else if they wrote something else all together. But whenever I input either A, a or B, b, it will just show the else option.<br />
The code is below in case you didn't understand what I was trying to say: <br />
[code2=java]import java.util.Scanner;<br />
public class DigitExtratorTester {<br />
<br />
	static Scanner input = new Scanner(System.in);<br />
	static Scanner input2 = new Scanner(System.in);<br />
	<br />
	public static void main(String[] args) <br />
	{<br />
		System.out.println("Welcome to the Digit Extractor. Please enter 5 digits of your choice:");<br />
		String in = input.nextLine();<br />
		System.out.println("Would you like it done either" + "\n" + "A) Mathematically" + "\n" + "or B)Conceptually?" + " \n" + "*Please choose either A or B*");<br />
		String in2 = input2.nextLine();<br />
		if (in2 == "A")<br />
		{<br />
			DigitExtractor demath = new DigitExtractor(Integer.parseInt(in));<br />
			demath.ReturnInvertedOrderByMath();<br />
		}<br />
		else if (in2 == "B")<br />
		{<br />
			DigitExtractor deconceptual = new DigitExtractor(in);<br />
			deconceptual.ReturnInvertedOrderByString();<br />
		}<br />
		else<br />
		{<br />
			System.out.println("You done goof my friend!");<br />
		}<br />
		<br />
	}<br />
<br />
}[/code2]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mouselistener help]]></title>
			<link>https://bpforums.info/showthread.php?tid=786</link>
			<pubDate>Sun, 19 May 2013 12:38:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=475">jorgenRe</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=786</guid>
			<description><![CDATA[I'm trying to learn java from your video tutorials and i'm on part 19 now when executing your program it does not find any mouse so nothing happens when the mouse is pressed.<br />
[code2=java]import java.applet.Applet;<br />
import java.awt.Color;<br />
import java.awt.Dimension;<br />
import java.awt.Graphics;<br />
import java.awt.event.MouseEvent;<br />
import java.awt.event.MouseListener;<br />
<br />
public class mouselistener <br />
extends Applet<br />
implements MouseListener{<br />
	<br />
	private Graphics globalGraphics = null;<br />
	<br />
	public void inint()<br />
	{<br />
		this.addMouseListener(this);<br />
	}<br />
	<br />
	public void paint(Graphics g)<br />
	{<br />
		this.setSize(new Dimension(800, 600));<br />
		<br />
	    globalGraphics = g.create();	    <br />
	}<br />
	<br />
	public void drawDot(int x, int y)<br />
	{<br />
		//define r, g, b color randomizer<br />
		int r = (int) (Math.random() * 255);<br />
		int g = (int) (Math.random() * 255);<br />
		int b = (int) (Math.random() * 255);<br />
		<br />
		System.out.println("test");<br />
		<br />
		Color randomColor = new Color(r,g,b);<br />
		globalGraphics.setColor(randomColor);<br />
		globalGraphics.fillRect(x, y, 10, 10);<br />
	}<br />
<br />
	@Override<br />
	public void mouseClicked(MouseEvent e) {<br />
              <br />
	}<br />
<br />
	@Override<br />
	public void mouseEntered(MouseEvent arg0) {<br />
		System.out.println("Mouse have entered!");<br />
	<br />
	}<br />
<br />
	@Override<br />
	public void mouseExited(MouseEvent arg0) {<br />
		System.out.println("Mouse have gone");<br />
	}<br />
<br />
	@Override<br />
	public void mousePressed(MouseEvent e) {<br />
		System.out.println("Click");<br />
		int mouseX = e.getX();<br />
		int mouseY = e.getY();<br />
		<br />
		drawDot(mouseX, mouseY);<br />
		<br />
	}<br />
<br />
	@Override<br />
	public void mouseReleased(MouseEvent arg0) {<br />
		// TODO Auto-generated method stub<br />
		<br />
	}<br />
}[/code2]]]></description>
			<content:encoded><![CDATA[I'm trying to learn java from your video tutorials and i'm on part 19 now when executing your program it does not find any mouse so nothing happens when the mouse is pressed.<br />
[code2=java]import java.applet.Applet;<br />
import java.awt.Color;<br />
import java.awt.Dimension;<br />
import java.awt.Graphics;<br />
import java.awt.event.MouseEvent;<br />
import java.awt.event.MouseListener;<br />
<br />
public class mouselistener <br />
extends Applet<br />
implements MouseListener{<br />
	<br />
	private Graphics globalGraphics = null;<br />
	<br />
	public void inint()<br />
	{<br />
		this.addMouseListener(this);<br />
	}<br />
	<br />
	public void paint(Graphics g)<br />
	{<br />
		this.setSize(new Dimension(800, 600));<br />
		<br />
	    globalGraphics = g.create();	    <br />
	}<br />
	<br />
	public void drawDot(int x, int y)<br />
	{<br />
		//define r, g, b color randomizer<br />
		int r = (int) (Math.random() * 255);<br />
		int g = (int) (Math.random() * 255);<br />
		int b = (int) (Math.random() * 255);<br />
		<br />
		System.out.println("test");<br />
		<br />
		Color randomColor = new Color(r,g,b);<br />
		globalGraphics.setColor(randomColor);<br />
		globalGraphics.fillRect(x, y, 10, 10);<br />
	}<br />
<br />
	@Override<br />
	public void mouseClicked(MouseEvent e) {<br />
              <br />
	}<br />
<br />
	@Override<br />
	public void mouseEntered(MouseEvent arg0) {<br />
		System.out.println("Mouse have entered!");<br />
	<br />
	}<br />
<br />
	@Override<br />
	public void mouseExited(MouseEvent arg0) {<br />
		System.out.println("Mouse have gone");<br />
	}<br />
<br />
	@Override<br />
	public void mousePressed(MouseEvent e) {<br />
		System.out.println("Click");<br />
		int mouseX = e.getX();<br />
		int mouseY = e.getY();<br />
		<br />
		drawDot(mouseX, mouseY);<br />
		<br />
	}<br />
<br />
	@Override<br />
	public void mouseReleased(MouseEvent arg0) {<br />
		// TODO Auto-generated method stub<br />
		<br />
	}<br />
}[/code2]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[can someone help me out?]]></title>
			<link>https://bpforums.info/showthread.php?tid=781</link>
			<pubDate>Wed, 08 May 2013 08:20:32 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=465">andrei.xd23</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=781</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>import java.util.Scanner;<br />
<br />
<br />
public class test3 {<br />
&nbsp;&nbsp;&nbsp;&nbsp;static Scanner sc = new Scanner(System.in);<br />
&nbsp;&nbsp;&nbsp;&nbsp;public static void main(String[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String a = "Warrior";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("What are we?&#92;na.Warriors&#92;nb.Mages&#92;nc.Noobs");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String answer = sc.nextLine();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (a == answer)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("That's fucking correct. Let's move on");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Wrong. That's just wrong");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>ok so i made this code.. but something doesn't work properly ... i mean when i press run anything i write down it's incorrect..]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>import java.util.Scanner;<br />
<br />
<br />
public class test3 {<br />
&nbsp;&nbsp;&nbsp;&nbsp;static Scanner sc = new Scanner(System.in);<br />
&nbsp;&nbsp;&nbsp;&nbsp;public static void main(String[] args)<br />
&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String a = "Warrior";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("What are we?&#92;na.Warriors&#92;nb.Mages&#92;nc.Noobs");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String answer = sc.nextLine();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (a == answer)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("That's fucking correct. Let's move on");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println("Wrong. That's just wrong");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</code></div></div>ok so i made this code.. but something doesn't work properly ... i mean when i press run anything i write down it's incorrect..]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Reading material..]]></title>
			<link>https://bpforums.info/showthread.php?tid=773</link>
			<pubDate>Sun, 14 Apr 2013 20:14:00 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=451">Knight</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=773</guid>
			<description><![CDATA[Hey all.<br />
<br />
Except Brandonio's great videos, can please tell me reading/video materials. That are good too.<br />
<br />
Best would be, basics and than jdbc.<br />
 Main thing, that i wan't to learn is make application (Chat) and use my design =&gt; &lt;!-- m --&gt;&lt;a class="postlink" href="http://screencloud.net/v/wQH9"&gt;http://screencloud.net/v/wQH9&lt;/a&gt;&lt;!-- m --&gt;<br />
<br />
Terms? Things what i need to know? Tips?<br />
 <br />
I will appriciate all. &lt;!-- s<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> --&gt;&lt;img src="{SMILIES_PATH}/icon_e_smile.gif" alt="<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />" title="Smile" /&gt;&lt;!-- s<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> --&gt;]]></description>
			<content:encoded><![CDATA[Hey all.<br />
<br />
Except Brandonio's great videos, can please tell me reading/video materials. That are good too.<br />
<br />
Best would be, basics and than jdbc.<br />
 Main thing, that i wan't to learn is make application (Chat) and use my design =&gt; &lt;!-- m --&gt;&lt;a class="postlink" href="http://screencloud.net/v/wQH9"&gt;http://screencloud.net/v/wQH9&lt;/a&gt;&lt;!-- m --&gt;<br />
<br />
Terms? Things what i need to know? Tips?<br />
 <br />
I will appriciate all. &lt;!-- s<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> --&gt;&lt;img src="{SMILIES_PATH}/icon_e_smile.gif" alt="<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />" title="Smile" /&gt;&lt;!-- s<img src="https://bpforums.info/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /> --&gt;]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Folders in Eclipse?]]></title>
			<link>https://bpforums.info/showthread.php?tid=741</link>
			<pubDate>Sat, 26 Jan 2013 17:54:49 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=373">Derek275</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=741</guid>
			<description><![CDATA[While looking at what all was under the 'New' submenu on the Eclipse Project Explorer, I found I can add folders to the project so I won't have to check to see if it exists on the computer, if not create it, and do alot of work like that.  But what code would I use to save a file to the folder I created, Default?<br />
<br />
Thanks for any and all help.]]></description>
			<content:encoded><![CDATA[While looking at what all was under the 'New' submenu on the Eclipse Project Explorer, I found I can add folders to the project so I won't have to check to see if it exists on the computer, if not create it, and do alot of work like that.  But what code would I use to save a file to the folder I created, Default?<br />
<br />
Thanks for any and all help.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Need Some Help!]]></title>
			<link>https://bpforums.info/showthread.php?tid=739</link>
			<pubDate>Fri, 25 Jan 2013 04:43:31 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=0">WitherSlayer</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=739</guid>
			<description><![CDATA[I would like to create a basic game that is kind of like the mario flash games. I'm still testing on some of the concepts, so I created this testing class.  I'm trying to get a gravity affect by making the y coodinate lower until it hits the floor using an ".intersects" for the collision.  But the box(the box is my test charater) thing just floats in the air and the repaint() command just makes it flash ut it does not move down. I also tried to make the box move using a key listener, but I don't think it even makes it up to that line of code.  Here's the code so far:<br />
[code2=java]import java.applet.Applet;<br />
import java.awt.*;<br />
import java.awt.event.KeyEvent;<br />
import java.awt.event.KeyListener;<br />
<br />
public class rectPlayer <br />
extends Applet<br />
implements KeyListener{<br />
<br />
	private static final long serialVersionUID = 1L;<br />
	int x = 10;<br />
	int y = 10;<br />
	Rectangle rect;<br />
	Rectangle floor;<br />
	public void init()<br />
	{<br />
		this.addKeyListener(this);<br />
		rect = new Rectangle (x,y,50,50);<br />
		floor = new Rectangle(0,200,500,10);<br />
	}<br />
		<br />
		<br />
		public void paint(Graphics g)<br />
		{<br />
			setSize(new Dimension(500,300));<br />
			Graphics2D g2 = (Graphics2D)g;<br />
			g2.draw(rect);<br />
			g2.draw(floor);<br />
			<br />
			<br />
			<br />
				if (rect.intersects(floor))<br />
				{<br />
					y--;<br />
					repaint();<br />
				}else{<br />
					y++;<br />
					repaint();<br />
			}<br />
			<br />
		}<br />
<br />
<br />
		@SuppressWarnings("unused")<br />
		@Override<br />
		public void keyPressed(KeyEvent e) {<br />
			if (KeyEvent.KEY_PRESSED == KeyEvent.VK_RIGHT)<br />
			{<br />
				x++;<br />
				x++;<br />
			}<br />
			else if (KeyEvent.KEY_PRESSED == KeyEvent.VK_LEFT){<br />
				x--;<br />
				x--;<br />
			}<br />
			else if (KeyEvent.KEY_PRESSED == KeyEvent.VK_UP){<br />
				y--;<br />
				y--;<br />
			}<br />
			else if (KeyEvent.KEY_PRESSED == KeyEvent.VK_DOWN){<br />
				y++;<br />
				y++;<br />
			}<br />
			<br />
		}<br />
<br />
<br />
		@Override<br />
		public void keyReleased(KeyEvent arg0) {<br />
			// TODO Auto-generated method stub<br />
			<br />
		}<br />
<br />
<br />
		@Override<br />
		public void keyTyped(KeyEvent arg0) {<br />
			// TODO Auto-generated method stub<br />
			<br />
		}<br />
	<br />
}[/code2]]]></description>
			<content:encoded><![CDATA[I would like to create a basic game that is kind of like the mario flash games. I'm still testing on some of the concepts, so I created this testing class.  I'm trying to get a gravity affect by making the y coodinate lower until it hits the floor using an ".intersects" for the collision.  But the box(the box is my test charater) thing just floats in the air and the repaint() command just makes it flash ut it does not move down. I also tried to make the box move using a key listener, but I don't think it even makes it up to that line of code.  Here's the code so far:<br />
[code2=java]import java.applet.Applet;<br />
import java.awt.*;<br />
import java.awt.event.KeyEvent;<br />
import java.awt.event.KeyListener;<br />
<br />
public class rectPlayer <br />
extends Applet<br />
implements KeyListener{<br />
<br />
	private static final long serialVersionUID = 1L;<br />
	int x = 10;<br />
	int y = 10;<br />
	Rectangle rect;<br />
	Rectangle floor;<br />
	public void init()<br />
	{<br />
		this.addKeyListener(this);<br />
		rect = new Rectangle (x,y,50,50);<br />
		floor = new Rectangle(0,200,500,10);<br />
	}<br />
		<br />
		<br />
		public void paint(Graphics g)<br />
		{<br />
			setSize(new Dimension(500,300));<br />
			Graphics2D g2 = (Graphics2D)g;<br />
			g2.draw(rect);<br />
			g2.draw(floor);<br />
			<br />
			<br />
			<br />
				if (rect.intersects(floor))<br />
				{<br />
					y--;<br />
					repaint();<br />
				}else{<br />
					y++;<br />
					repaint();<br />
			}<br />
			<br />
		}<br />
<br />
<br />
		@SuppressWarnings("unused")<br />
		@Override<br />
		public void keyPressed(KeyEvent e) {<br />
			if (KeyEvent.KEY_PRESSED == KeyEvent.VK_RIGHT)<br />
			{<br />
				x++;<br />
				x++;<br />
			}<br />
			else if (KeyEvent.KEY_PRESSED == KeyEvent.VK_LEFT){<br />
				x--;<br />
				x--;<br />
			}<br />
			else if (KeyEvent.KEY_PRESSED == KeyEvent.VK_UP){<br />
				y--;<br />
				y--;<br />
			}<br />
			else if (KeyEvent.KEY_PRESSED == KeyEvent.VK_DOWN){<br />
				y++;<br />
				y++;<br />
			}<br />
			<br />
		}<br />
<br />
<br />
		@Override<br />
		public void keyReleased(KeyEvent arg0) {<br />
			// TODO Auto-generated method stub<br />
			<br />
		}<br />
<br />
<br />
		@Override<br />
		public void keyTyped(KeyEvent arg0) {<br />
			// TODO Auto-generated method stub<br />
			<br />
		}<br />
	<br />
}[/code2]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Surf Shack Code]]></title>
			<link>https://bpforums.info/showthread.php?tid=735</link>
			<pubDate>Mon, 21 Jan 2013 04:43:39 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=0">WitherSlayer</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=735</guid>
			<description><![CDATA[The code will create a random fate of the company SURF-SHACK INC.  for a week<br />
[code2=java]//By Zach Manson<br />
package company;<br />
<br />
import java.util.Random;<br />
<br />
<br />
public class SurfShack {<br />
<br />
	public static void main(String[] args)<br />
	{<br />
		double rent = 0;<br />
		Random rnd = new Random();<br />
		int sBoard[] = new int[4];<br />
			sBoard[0] = 15;<br />
			sBoard[1] = 20;<br />
			sBoard[2] = 25;<br />
			sBoard[3] = 30;<br />
		int towel[] = new int[4];<br />
			towel[0] = 4;<br />
			towel[1] = 7;<br />
			towel[2] = 9;<br />
			towel[3] = 20;<br />
		<br />
		int wetsuite[] = new int[8];<br />
			wetsuite[0] = 45;<br />
			wetsuite[1] = 70;<br />
			wetsuite[2] = 100;<br />
			wetsuite[3] = 120;<br />
			wetsuite[4] = 150;<br />
			wetsuite[5] = 175;<br />
			wetsuite[6] = 200;<br />
			wetsuite[7] = 250;<br />
		double gst[] = new double[16];<br />
			gst[0] = sBoard[0] / 10;<br />
			gst[1] = sBoard[1] / 10;<br />
			gst[2] = sBoard[2] / 10;<br />
			gst[3] = sBoard[3] / 10;<br />
			gst[4] = towel[0] / 10;<br />
			gst[5] = towel[1] / 10;<br />
			gst[6] = towel[2] / 10;<br />
			gst[7] = towel[3] / 10;<br />
			gst[8] = wetsuite[0] / 10;<br />
			gst[9] = wetsuite[1] / 10;<br />
			gst[10] = wetsuite[2] / 10;<br />
			gst[11] = wetsuite[3] / 10;<br />
			gst[12] = wetsuite[4] / 10;<br />
			gst[13] = wetsuite[5] / 10;<br />
			gst[14] = wetsuite[6] / 10;<br />
			gst[15] = wetsuite[7] / 10;<br />
		double company = 0;<br />
		int employeesPay = 70;<br />
			<br />
		int week = 0;<br />
		System.out.println("STATICSTICS OF SURF-SHACK INC. OVER THE PAST WEEK");<br />
		System.out.println("                                                 ");<br />
		System.out.println("=============================================================");<br />
		while (week &lt; 7)<br />
		{<br />
			switch(week){<br />
					<br />
			case 0:<br />
				System.out.println("Monday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
			<br />
			case 1:<br />
				System.out.println("Tuesday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
			<br />
			case 2:<br />
				System.out.println("Wednesday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 3:<br />
				System.out.println("Thursday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 4:<br />
				System.out.println("Friday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 5:<br />
				System.out.println("Saturday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 6:<br />
				System.out.println("Sunday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
				<br />
			}<br />
			int customers = rnd.nextInt(50);<br />
			week++;<br />
<br />
		<br />
			switch (rnd.nextInt(16)){<br />
			<br />
			case 0:<br />
				rent = (customers * sBoard[0]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[0]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[0]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[0] * customers);<br />
				break;<br />
				<br />
			case 1:<br />
				rent = (customers * sBoard[1]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[1]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[1]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The Goods and Services Tax that was paid was &#36;" + gst[1] * customers);<br />
				break;<br />
			<br />
			case 2:<br />
				rent = (customers * sBoard[2]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[2]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[2]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[2] * customers);<br />
				break;<br />
			<br />
			case 3:<br />
				rent = (customers * sBoard[3]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[3]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[3]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[3] * customers);<br />
				break;<br />
				<br />
			case 4:<br />
				rent = (customers * towel[0]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[0]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[0]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[4] * customers);<br />
				break;<br />
				<br />
			case 5:<br />
				rent = (customers * towel[1]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[1]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[1]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[5] * customers);<br />
				break;<br />
			<br />
			case 6:<br />
				rent = (customers * towel[2]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[2]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[2]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[6] * customers);<br />
				break;<br />
				<br />
			case 7:<br />
				rent = (customers * towel[3]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[3]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[3]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[7] * customers);<br />
				break;<br />
				<br />
			case 8:<br />
				rent = (customers * wetsuite[0]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[0]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[0]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[8] * customers);<br />
				break;<br />
				<br />
			case 9:<br />
				rent = (customers * wetsuite[1]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[1]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[1]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[9] * customers);<br />
				break;<br />
				<br />
			case 10:<br />
				rent = (customers * wetsuite[2]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[2]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[2]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[10] * customers);<br />
				break;<br />
				<br />
			case 11:<br />
				rent = (customers * wetsuite[3]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[3]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[3]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[11] * customers);<br />
				break;<br />
				<br />
			case 12:<br />
				rent = (customers * wetsuite[4]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[4]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[4]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[12] * customers);<br />
				break;<br />
				<br />
			case 13:<br />
				rent = (customers * wetsuite[5]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[5]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[5]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[13] * customers);<br />
				break;<br />
				<br />
			case 14:<br />
				rent = (customers * wetsuite[6]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[6]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[6]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[14] * customers);<br />
				break;<br />
				<br />
			case 15:<br />
				rent = (customers * wetsuite[7]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[7]);<br />
				System.out.println("Today the SurfShack made &#36;" + wetsuite[7] * customers);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[15]);<br />
				break;<br />
			}<br />
			System.out.println("---------------------------------------------------");	<br />
			System.out.println("SurfShack inc. is now worth &#36;" + company);<br />
			System.out.println("---------------------------------------------------");<br />
			System.out.println("The rent was &#36;" + rent);<br />
			System.out.println("--------------------------------------------------");<br />
			System.out.println("There was " + customers + " customers");<br />
			System.out.println("_____________________________________________________________");<br />
			<br />
		}<br />
		<br />
	}<br />
	<br />
}[/code2]]]></description>
			<content:encoded><![CDATA[The code will create a random fate of the company SURF-SHACK INC.  for a week<br />
[code2=java]//By Zach Manson<br />
package company;<br />
<br />
import java.util.Random;<br />
<br />
<br />
public class SurfShack {<br />
<br />
	public static void main(String[] args)<br />
	{<br />
		double rent = 0;<br />
		Random rnd = new Random();<br />
		int sBoard[] = new int[4];<br />
			sBoard[0] = 15;<br />
			sBoard[1] = 20;<br />
			sBoard[2] = 25;<br />
			sBoard[3] = 30;<br />
		int towel[] = new int[4];<br />
			towel[0] = 4;<br />
			towel[1] = 7;<br />
			towel[2] = 9;<br />
			towel[3] = 20;<br />
		<br />
		int wetsuite[] = new int[8];<br />
			wetsuite[0] = 45;<br />
			wetsuite[1] = 70;<br />
			wetsuite[2] = 100;<br />
			wetsuite[3] = 120;<br />
			wetsuite[4] = 150;<br />
			wetsuite[5] = 175;<br />
			wetsuite[6] = 200;<br />
			wetsuite[7] = 250;<br />
		double gst[] = new double[16];<br />
			gst[0] = sBoard[0] / 10;<br />
			gst[1] = sBoard[1] / 10;<br />
			gst[2] = sBoard[2] / 10;<br />
			gst[3] = sBoard[3] / 10;<br />
			gst[4] = towel[0] / 10;<br />
			gst[5] = towel[1] / 10;<br />
			gst[6] = towel[2] / 10;<br />
			gst[7] = towel[3] / 10;<br />
			gst[8] = wetsuite[0] / 10;<br />
			gst[9] = wetsuite[1] / 10;<br />
			gst[10] = wetsuite[2] / 10;<br />
			gst[11] = wetsuite[3] / 10;<br />
			gst[12] = wetsuite[4] / 10;<br />
			gst[13] = wetsuite[5] / 10;<br />
			gst[14] = wetsuite[6] / 10;<br />
			gst[15] = wetsuite[7] / 10;<br />
		double company = 0;<br />
		int employeesPay = 70;<br />
			<br />
		int week = 0;<br />
		System.out.println("STATICSTICS OF SURF-SHACK INC. OVER THE PAST WEEK");<br />
		System.out.println("                                                 ");<br />
		System.out.println("=============================================================");<br />
		while (week &lt; 7)<br />
		{<br />
			switch(week){<br />
					<br />
			case 0:<br />
				System.out.println("Monday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
			<br />
			case 1:<br />
				System.out.println("Tuesday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
			<br />
			case 2:<br />
				System.out.println("Wednesday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 3:<br />
				System.out.println("Thursday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 4:<br />
				System.out.println("Friday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 5:<br />
				System.out.println("Saturday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
			case 6:<br />
				System.out.println("Sunday");<br />
				System.out.println("---------------------------------------------------");<br />
				break;<br />
				<br />
				<br />
			}<br />
			int customers = rnd.nextInt(50);<br />
			week++;<br />
<br />
		<br />
			switch (rnd.nextInt(16)){<br />
			<br />
			case 0:<br />
				rent = (customers * sBoard[0]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[0]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[0]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[0] * customers);<br />
				break;<br />
				<br />
			case 1:<br />
				rent = (customers * sBoard[1]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[1]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[1]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The Goods and Services Tax that was paid was &#36;" + gst[1] * customers);<br />
				break;<br />
			<br />
			case 2:<br />
				rent = (customers * sBoard[2]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[2]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[2]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[2] * customers);<br />
				break;<br />
			<br />
			case 3:<br />
				rent = (customers * sBoard[3]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * sBoard[3]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * sBoard[3]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[3] * customers);<br />
				break;<br />
				<br />
			case 4:<br />
				rent = (customers * towel[0]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[0]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[0]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[4] * customers);<br />
				break;<br />
				<br />
			case 5:<br />
				rent = (customers * towel[1]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[1]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[1]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[5] * customers);<br />
				break;<br />
			<br />
			case 6:<br />
				rent = (customers * towel[2]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[2]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[2]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[6] * customers);<br />
				break;<br />
				<br />
			case 7:<br />
				rent = (customers * towel[3]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * towel[3]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * towel[3]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[7] * customers);<br />
				break;<br />
				<br />
			case 8:<br />
				rent = (customers * wetsuite[0]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[0]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[0]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[8] * customers);<br />
				break;<br />
				<br />
			case 9:<br />
				rent = (customers * wetsuite[1]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[1]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[1]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[9] * customers);<br />
				break;<br />
				<br />
			case 10:<br />
				rent = (customers * wetsuite[2]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[2]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[2]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[10] * customers);<br />
				break;<br />
				<br />
			case 11:<br />
				rent = (customers * wetsuite[3]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[3]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[3]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[11] * customers);<br />
				break;<br />
				<br />
			case 12:<br />
				rent = (customers * wetsuite[4]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[4]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[4]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[12] * customers);<br />
				break;<br />
				<br />
			case 13:<br />
				rent = (customers * wetsuite[5]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[5]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[5]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[13] * customers);<br />
				break;<br />
				<br />
			case 14:<br />
				rent = (customers * wetsuite[6]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[6]);<br />
				System.out.println("Today the SurfShack made &#36;" + customers * wetsuite[6]);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[14] * customers);<br />
				break;<br />
				<br />
			case 15:<br />
				rent = (customers * wetsuite[7]) / 10;<br />
				company = company - ((employeesPay * 5) + rent) + (customers * wetsuite[7]);<br />
				System.out.println("Today the SurfShack made &#36;" + wetsuite[7] * customers);<br />
				System.out.println("---------------------------------------------------");<br />
				System.out.println("The total Goods and Services Tax that was paid was &#36;" + gst[15]);<br />
				break;<br />
			}<br />
			System.out.println("---------------------------------------------------");	<br />
			System.out.println("SurfShack inc. is now worth &#36;" + company);<br />
			System.out.println("---------------------------------------------------");<br />
			System.out.println("The rent was &#36;" + rent);<br />
			System.out.println("--------------------------------------------------");<br />
			System.out.println("There was " + customers + " customers");<br />
			System.out.println("_____________________________________________________________");<br />
			<br />
		}<br />
		<br />
	}<br />
	<br />
}[/code2]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[JOptionPaneTextWriter]]></title>
			<link>https://bpforums.info/showthread.php?tid=732</link>
			<pubDate>Fri, 18 Jan 2013 03:52:40 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=0">WitherSlayer</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=732</guid>
			<description><![CDATA[This applet will create a text document with whatever you want to write in it!<br />
[code2=java]import java.io.BufferedWriter;<br />
import java.io.File;<br />
import java.io.FileWriter;<br />
import javax.swing.JOptionPane;<br />
import java.applet.Applet;<br />
<br />
public class JOptionpaneTextWriter extends Applet{<br />
	<br />
	private static final long serialVersionUID = 1L;<br />
<br />
<br />
	public static void main(String[]args){<br />
		text();<br />
	}<br />
	 <br />
		public static void text(){<br />
		JOptionPane.showMessageDialog(null, "This is the TEXT DOCUMENT CREATOR!");//Title<br />
		String message = (JOptionPane.showInputDialog("What would you like the document to say:"));//This takes the users input<br />
		File newFile = new File("C:/Documents and Settings/The Bairns/Desktop/newtxt.txt"/*Txt means it will be saved as a notepad file*/);//Where it will be saved an the name<br />
		if (newFile.exists())//If the file alreay exists<br />
			JOptionPane.showMessageDialog(null, "The file already exists!");//Then this message will come up!<br />
		else<br />
		{<br />
			try<br />
			{		<br />
			newFile.createNewFile();//This creates a new file<br />
			}<br />
			catch (Exception e)//If somethig goes wrong.  But nothing will go wrong becauce it has already checked that the file doesn't exist<br />
			{<br />
				e.printStackTrace();//Tracer from Star Wars<br />
			}<br />
			try<br />
			{<br />
			FileWriter fileW = new FileWriter(newFile);<br />
			BufferedWriter buffW = new BufferedWriter(fileW);//The text writer<br />
			buffW.write(message);//The message<br />
			buffW.close();<br />
			JOptionPane.showMessageDialog(null, "File Written!");//Success<br />
			}<br />
			catch (Exception e)<br />
			{<br />
				e.printStackTrace();//Another tracer from Star Wars<br />
			}	<br />
		}<br />
	}		<br />
}[/code2]<br />
Fully commented!]]></description>
			<content:encoded><![CDATA[This applet will create a text document with whatever you want to write in it!<br />
[code2=java]import java.io.BufferedWriter;<br />
import java.io.File;<br />
import java.io.FileWriter;<br />
import javax.swing.JOptionPane;<br />
import java.applet.Applet;<br />
<br />
public class JOptionpaneTextWriter extends Applet{<br />
	<br />
	private static final long serialVersionUID = 1L;<br />
<br />
<br />
	public static void main(String[]args){<br />
		text();<br />
	}<br />
	 <br />
		public static void text(){<br />
		JOptionPane.showMessageDialog(null, "This is the TEXT DOCUMENT CREATOR!");//Title<br />
		String message = (JOptionPane.showInputDialog("What would you like the document to say:"));//This takes the users input<br />
		File newFile = new File("C:/Documents and Settings/The Bairns/Desktop/newtxt.txt"/*Txt means it will be saved as a notepad file*/);//Where it will be saved an the name<br />
		if (newFile.exists())//If the file alreay exists<br />
			JOptionPane.showMessageDialog(null, "The file already exists!");//Then this message will come up!<br />
		else<br />
		{<br />
			try<br />
			{		<br />
			newFile.createNewFile();//This creates a new file<br />
			}<br />
			catch (Exception e)//If somethig goes wrong.  But nothing will go wrong becauce it has already checked that the file doesn't exist<br />
			{<br />
				e.printStackTrace();//Tracer from Star Wars<br />
			}<br />
			try<br />
			{<br />
			FileWriter fileW = new FileWriter(newFile);<br />
			BufferedWriter buffW = new BufferedWriter(fileW);//The text writer<br />
			buffW.write(message);//The message<br />
			buffW.close();<br />
			JOptionPane.showMessageDialog(null, "File Written!");//Success<br />
			}<br />
			catch (Exception e)<br />
			{<br />
				e.printStackTrace();//Another tracer from Star Wars<br />
			}	<br />
		}<br />
	}		<br />
}[/code2]<br />
Fully commented!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Where is a programs JAR file?]]></title>
			<link>https://bpforums.info/showthread.php?tid=731</link>
			<pubDate>Thu, 17 Jan 2013 23:47:55 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=373">Derek275</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=731</guid>
			<description><![CDATA[I am currently working on a note-taking application, and thought since my dad uses stuff like this alot with his work, I could pass it to him so he could use it.  The problem is, I don't want him to have to download Eclipse, open the main class, and compile it to run.  So where can I find the main .jar file so he can just click on it and pull it up?  Thanks to any and all help!]]></description>
			<content:encoded><![CDATA[I am currently working on a note-taking application, and thought since my dad uses stuff like this alot with his work, I could pass it to him so he could use it.  The problem is, I don't want him to have to download Eclipse, open the main class, and compile it to run.  So where can I find the main .jar file so he can just click on it and pull it up?  Thanks to any and all help!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PIN Program]]></title>
			<link>https://bpforums.info/showthread.php?tid=729</link>
			<pubDate>Thu, 10 Jan 2013 04:37:18 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=0">WitherSlayer</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=729</guid>
			<description><![CDATA[Pretty much the same as my password program <a href="http://bpforums.info/viewtopic.php?f=23&amp;t=752&amp;sid=ecad9686dbf3441f8e8454c0f07db121" target="_blank" rel="noopener" class="mycode_url">http://bpforums.info/viewtopic.php?f=23&amp;...c0f07db121</a><br />
<br />
<br />
[code2=java]import javax.swing.JOptionPane;<br />
public class Codeword {<br />
<br />
public static void PIN(){<br />
			String PIN = "2995";//This is the PIN<br />
			String input = (JOptionPane.showInputDialog("Insert PIN:"));// This is the question asked<br />
			<br />
			if (input.equals(PIN)){<br />
				JOptionPane.showMessageDialog(null, "Access Granted");//If you get it right<br />
				JOptionPane.showMessageDialog(null, "This is the information:BLAH BLAH BLAH BLAH BLAH BLAH");//The information<br />
		}else{<br />
			JOptionPane.showMessageDialog(null, "Access Denied");//If you get it wrong nothing happends<br />
		}<br />
	}[/code2]<br />
The PIN right now is 2995]]></description>
			<content:encoded><![CDATA[Pretty much the same as my password program <a href="http://bpforums.info/viewtopic.php?f=23&amp;t=752&amp;sid=ecad9686dbf3441f8e8454c0f07db121" target="_blank" rel="noopener" class="mycode_url">http://bpforums.info/viewtopic.php?f=23&amp;...c0f07db121</a><br />
<br />
<br />
[code2=java]import javax.swing.JOptionPane;<br />
public class Codeword {<br />
<br />
public static void PIN(){<br />
			String PIN = "2995";//This is the PIN<br />
			String input = (JOptionPane.showInputDialog("Insert PIN:"));// This is the question asked<br />
			<br />
			if (input.equals(PIN)){<br />
				JOptionPane.showMessageDialog(null, "Access Granted");//If you get it right<br />
				JOptionPane.showMessageDialog(null, "This is the information:BLAH BLAH BLAH BLAH BLAH BLAH");//The information<br />
		}else{<br />
			JOptionPane.showMessageDialog(null, "Access Denied");//If you get it wrong nothing happends<br />
		}<br />
	}[/code2]<br />
The PIN right now is 2995]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Password Program]]></title>
			<link>https://bpforums.info/showthread.php?tid=728</link>
			<pubDate>Thu, 10 Jan 2013 04:26:38 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://bpforums.info/member.php?action=profile&uid=0">WitherSlayer</a>]]></dc:creator>
			<guid isPermaLink="false">https://bpforums.info/showthread.php?tid=728</guid>
			<description><![CDATA[This program will ask the person for a password and if they get it right the will be shown some info.  Fully commented!<br />
[code2=java]import javax.swing.JOptionPane;<br />
public class password {<br />
<br />
	public static void password (){<br />
	String password = "Potato";//This is the actual password<br />
		String input = (JOptionPane.showInputDialog("Insert Password:"));// This is the question asked<br />
		<br />
			if (input.equals(password)){<br />
				JOptionPane.showMessageDialog(null, "Access Granted");//If you get it right<br />
				JOptionPane.showMessageDialog(null, "This is the information:BLAH BLAH BLAH BLAH BLAH BLAH");//The information<br />
				<br />
			}else{<br />
				JOptionPane.showMessageDialog(null, "Access Denied");//If you get it wrong nothing happens<br />
		}<br />
	}[/code2]<br />
<br />
p.s. The password right now is Potato]]></description>
			<content:encoded><![CDATA[This program will ask the person for a password and if they get it right the will be shown some info.  Fully commented!<br />
[code2=java]import javax.swing.JOptionPane;<br />
public class password {<br />
<br />
	public static void password (){<br />
	String password = "Potato";//This is the actual password<br />
		String input = (JOptionPane.showInputDialog("Insert Password:"));// This is the question asked<br />
		<br />
			if (input.equals(password)){<br />
				JOptionPane.showMessageDialog(null, "Access Granted");//If you get it right<br />
				JOptionPane.showMessageDialog(null, "This is the information:BLAH BLAH BLAH BLAH BLAH BLAH");//The information<br />
				<br />
			}else{<br />
				JOptionPane.showMessageDialog(null, "Access Denied");//If you get it wrong nothing happens<br />
		}<br />
	}[/code2]<br />
<br />
p.s. The password right now is Potato]]></content:encoded>
		</item>
	</channel>
</rss>