<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[HotJoe Java Forums - Latest forum topics]]></title>
		<link>http://forums.hotjoe.com/recentTopics/list.page</link>
		<description><![CDATA[The newest discussed topics in the entire board]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Help opening Java</title>
				<description><![CDATA[ hi, I'm having problems opening Java, i'm not programming or anything like that, just managing a device that runs java i think, when i click the link in a web browser i get could not find main class: Settings/Temp/kieran.ord_emlFwk/policy_emlfw. Program will exit? I've tried uninstalling different versions and nothing works?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3224/4519.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3224/4519.page</link>
				<pubDate><![CDATA[Tue, 7 Feb 2012 04:38:19]]> GMT</pubDate>
				<author><![CDATA[ kieran_je]]></author>
			</item>
			<item>
				<title>indexOf for finding space</title>
				<description><![CDATA[ help please :) just starting java now and trying to find a space in a string, but it return error -1<br /> <br /> [i][color=darkblue]package substringmethod;<br /> import java.util.Scanner;<br /> <br /> public class Substringmethod {<br /> <br />     public static void main(String[] args) {<br />         Scanner user_input = new Scanner(System.in);<br />         String nameChars;        <br />         String fullName;<br />         <br />         System.out.println("Enter your name:");<br />         fullName = user_input.next();        <br />    <br />         nameChars = fullName.substring(0,2);<br />         //System.out.println(nameChars);  [/color]     <br />         <br />       [color=red]  int result = fullName.indexOf(" ");<br />         System.out.println("Space is at post: "+result);[/color]      <br /> [color=darkblue]    }<br /> } [/color] [/i]<br /> <br /> What am I doing wrong :(]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3223/4511.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3223/4511.page</link>
				<pubDate><![CDATA[Sat, 4 Feb 2012 16:07:56]]> GMT</pubDate>
				<author><![CDATA[ Kirra]]></author>
			</item>
			<item>
				<title>Confusion on getting the value from a method in another method</title>
				<description><![CDATA[ So let's say I have a method that's scanning in the next word of a file from a scanner called (in) in the main method and just returning the String back to the main method. (I'm just trying to figure out how to get return values back before I get clever doing things in the other method.)   When it comes back to the main method.  I want to assign the returned value to a variable and print it out.<br /> public static String othermethod (Scanner in)<br />  {<br /> String word = in.next ();<br /> return word;<br /> }<br /> public static void main (String[] args)<br /> {<br /> // bunch of coding bringing in a scanner and reading the first word.<br /> <br /> othermethod (in);  // calling the other method which is to read the string and bring it back<br /> <br /> // HOW DO I GET THE VALUE THE STRING IS RETURNING?<br /> <br /> // My thought is to do something like...<br /> <br /> String returnedvalue = othermethod();<br /> System.out.println (returnedvalue);<br /> }<br /> // but it doesn't work with empty parameters and I'm not sure what I should be putting in the parameters.<br /> Most of the things I've tried tell me that the String from my other method is not applicable to the arguments () <br /> <br /> Can anyone help me to understand this concept?<br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3222/4510.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3222/4510.page</link>
				<pubDate><![CDATA[Sat, 4 Feb 2012 12:48:48]]> GMT</pubDate>
				<author><![CDATA[ Judy]]></author>
			</item>
			<item>
				<title>help regarding digital image processing</title>
				<description><![CDATA[ i want help regarding digital image processing in java, to develop a program to perform pattern recognition in images using only java no matlab.<br /> any kind of help is appreciable.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3217/4504.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3217/4504.page</link>
				<pubDate><![CDATA[Sun, 29 Jan 2012 21:49:53]]> GMT</pubDate>
				<author><![CDATA[ amitcs10]]></author>
			</item>
			<item>
				<title>World Generation :)</title>
				<description><![CDATA[ Hello,<br /> I am back,<br /> <br /> I have a decent working of Java, simple apps are no problem for me, and as its a hobby I don't do anything too serious with it.<br /> However,<br /> I want to create something similar to `the game of life,' but with countrys.<br /> Its going to be a grand strat game, that can be played in an hour or less.<br /> <br /> I know its alot to program but I am here to learn aha.<br /> <br /> I would love some advice on the following:<br /> I am trying to generate the landscape in the following way - <br /> I create an array , one for width, and one for height.<br /> These both start out empty, here is an example I use to populate the width list.<br /> <br /> [code]<br /> 	public void generateWidth(){<br /> 			width.add(arrayList1,randomInt2);<br /> 			arrayList1 = arrayList1++;<br /> 			int randomInt2 = randomGenerator.nextInt(10);<br /> 			System.out.println("The island is  " + randomInt + " long in pixels");<br /> 			System.out.println("The Random Number was " + randomInt2);<br /> 			<br /> 	}<br /> [/code]<br /> <br /> Using the generateWidth method, in the class I am able to fill the list to a random number, and then populate the the contents with another random number.<br /> So for example, a reading might be `index = 4, value = 9,' to me that would translate as being 4 across from the starting point , and be a piece of rocky landscape.<br /> <br /> <br /> How can I do something like this?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3216/4503.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3216/4503.page</link>
				<pubDate><![CDATA[Sun, 29 Jan 2012 13:49:43]]> GMT</pubDate>
				<author><![CDATA[ AllanOcelot]]></author>
			</item>
			<item>
				<title>Event Handling</title>
				<description><![CDATA[ Hi<br /> <br /> I have to do a mortgage program using graphical user interface. The user can input any amount for the principal of the loan and then have three options for a payment plan. The program should display the mortgage payment then list the loan balance and interest paid for each payment over the life of the loan.<br /> <br /> I did the code but there is an event error and I cannot seem to understand why the error is there. The code is attached below. Any assistance would be appreciated.<br /> <br /> <br /> [code]<br /> <br /> import java.text.*;<br /> import java.awt.*;<br /> import java.io.*;<br /> import java.awt.event.*;<br /> import java.lang.Math.*;<br /> import javax.swing.*;<br /> <br /> public class MortgageCalcOptions extends JFrame implements ActionListener{<br /> <br /> 	<br />     //Declare variables & loan array and initialize with values<br />     //Declares the various button, text fields and labels for the calculator.<br />     <br /> 	JButton calculate, clear;       //Declares the calculate and clear data buttons.<br /> 	JTextField tmortgamt, tmortgpmt;           //Declares the text field for the mortgage amount.<br />         JLabel lmortgamt, lmortgage, lmortgpmt, lmortgdetails;     //Declares the label boxes for mortgage amount and mortgage details.<br />         JRadioButton select7, select15, select30;       //Declares the radio buttons to make term and interest rate selections<br />         JScrollPane backpanel;       //List of monthly payments and interest paid per month<br /> <br /> 	<br /> 	java.text.DecimalFormat dec = new java.text.DecimalFormat(",###.00");       //Decimal format<br />         <br />         <br />         int[] mortgtrm = {7, 15, 30};   //Initialises the array for the three different years.<br /> 	double[] mortgir = {5.35, 5.5, 5.75};   //Initialises the array for the three different interest rates.    <br />         double mortgamt = Double.parseDouble(tmortgamt.getText());<br /> <br /> <br />               <br />        //Sets constraints on the lay out of the interface of the calculator.<br />         <br />           public MortgageCalcOptions() {<br /> 			setLayout(new GridBagLayout());<br /> 			GridBagConstraints c = new GridBagConstraints();<br />     <br />         //Creating, formatting and position and orientation of each component on the calculator interface. <br />         //Set the size of the buttons, labels and text fields.<br /> 		<br />                         lmortgamt = new JLabel("Amount   ");<br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 0;<br />                         c.gridy = 0;<br />                         c.gridwidth = 1;<br />                         add(lmortgamt, c);<br />                         <br />                         tmortgamt = new JTextField(15);<br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 1;<br />                         c.gridy = 0;<br />                         c.gridwidth = 3;<br />                         add(tmortgamt, c);<br />                         <br />                         lmortgpmt = new JLabel("Payment   ");<br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 0;<br />                         c.gridy = 3;<br />                         c.gridwidth = 1;<br />                         add(lmortgpmt, c);<br />                         <br />                         tmortgpmt = new JTextField(15);<br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 1;<br />                         c.gridy = 3;<br />                         c.gridwidth = 3;<br />                         add(tmortgpmt, c);<br />                         <br />                         lmortgage = new JLabel("Mortgage Details    ");<br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 0;<br />                         c.gridy = 4;<br />                         c.gridwidth = 1;<br />                         add(lmortgage, c);<br />             <br />                         lmortgdetails = new JLabel("");<br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 0;<br />                         c.gridy = 5;<br />                         c.gridwidth = 1;<br />                         add(lmortgdetails, c);<br />                         <br />                         calculate = new JButton("Calculate");                        <br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 1;<br />                         c.gridy = 6;<br />                         c.gridwidth = 1;<br />                         add(calculate, c);<br />                         <br />                         clear = new JButton("Clear Data");                        <br />                         c.fill = GridBagConstraints.HORIZONTAL;<br />                         c.gridx = 2;<br />                         c.gridy = 6;<br />                         c.gridwidth = 1;<br />                         add(clear, c);<br />             <br />                         backpanel = new javax.swing.JScrollPane();<br />                         backpanel.setPreferredSize(new Dimension(300, 400));<br />                         backpanel.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);<br />                         backpanel.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));<br /> 		<br />                         select7 = new JRadioButton("7 Years at 5.35%", false);<br />                         select7.setActionCommand("sel7");<br /> 		<br />                         select15 = new JRadioButton("15 Years at 5.50%", false);<br />                         select15.setActionCommand("sel15");<br /> 		<br />                         select30 = new JRadioButton("30 Years at 5.75%", false);<br />                         select30.setActionCommand("sel30");<br /> <br /> 		<br />                         ButtonGroup group = new ButtonGroup();      //Create button group<br />                         group.add(select7);<br />                         group.add(select15);<br />                         group.add(select30);<br /> <br /> 		<br />         //Creates the event of the buttons calculate and clear data to perform.<br />         //The calculate button will calculate the mortgage payment and the clear data button will.<br />         //allow the user to clear the fields and enter new data.<br />                         <br />                         event a = new event();<br />                         calculate.addActionListener(a); <br />                         clear.addActionListener(a);<br />                         <br />                   }<br /> <br /> 	public void actionPerformed(ActionEvent a) { <br /> <br />                        <br />                 for (int i = 0; i &lt; mortgir.length; i++)<br /> {<br />                 // Formula to calculate one month's mortgage payment<br />                 double mortgpmt = (mortgamt * (mortgir[i]/12/100)) / (1-(Math.pow(1/(1+(mortgir[i]/12/100)),(mortgtrm[i]*12))));<br /> <br />                 // Formula to calculate the total amount paid over life of the loan<br />                 double tottobepd = (mortgtrm[i]*12) * mortgpmt;<br />          <br />                 // Formula to calculate the total interest paid over life of the loan<br />                 double totinttobepd = tottobepd - mortgamt;<br />         <br />                 //Declares and builds additional variables for caluclations<br />                 double mortgbal = mortgamt;<br />                 double balance = tottobepd;<br />                 double intbalance = totinttobepd;<br />                 double mortpdsofar = 0.0;<br />                 double intpaidsofar = 0.0;<br />                 double noofpayments = 0;<br />                 double intpdthismth;<br />         <br />        <br />         //When the calculate button is pressed the payment is calculated and shown in the payment field according to the mortgage plan.<br />         //Also when the clear data button is pressed all fields are set to null.<br /> 		<br />         String arg = event.getActionCommand();<br />         String op = a.getActionCommand();<br />         <br />              <br /> 		if(op.equals("Clear Data")) {<br /> 			tmortgamt.setText(null);<br /> 			tmortgpmt.setText(null);<br /> 			}<br /> <br />                 else if (op.equals("Calculate")) {<br />                 <br />                         if (arg == "sel7"){<br />                             double mortgamt = Double.parseDouble(tmortgamt.getText());<br />                             mortgpmt = (mortgamt * (mortgir[i]/12/100)) / (1-(Math.pow(1/(1+(mortgir[i]/12/100)),(mortgtrm[i]*12))));				<br />                             tmortgpmt.setText(""+ dec.format(mortgpmt));<br />                             lmortgdetails = new JLabel("Payment Number\tLoan Balance\t\tInterest");<br />                             <br />                             //This will start the loop statement and declares formula for loan balance and interest paid<br />                                 while (balance &gt; 0.0){<br /> <br /> 		}	<br />                                 intpdthismth = mortgbal * (mortgir[i]/12/100);<br />                                 mortgbal = mortgbal - (mortgpmt - intpdthismth);<br />                                 mortpdsofar = mortpdsofar + (mortgpmt - intpdthismth);<br />                                 intbalance = intbalance - intpdthismth;<br />                                 intpaidsofar = intpaidsofar + intpdthismth;<br />                                 balance = balance - mortgpmt;<br />                                 noofpayments = noofpayments + 1;<br />                    <br />                                 //Displays the loan balance and interest paid<br />                                 lmortgdetails = new JLabel(noofpayments+"\t\t"+"$" + dec.format(balance)+"\t\t"+"$" + dec.format(intpdthismth));<br />                     <br />                     }<br /> <br />                         if (arg == "sel15"){<br />                             double mortgamt = Double.parseDouble(tmortgamt.getText());<br />                             mortgpmt = (mortgamt * (mortgir[i]/12/100)) / (1-(Math.pow(1/(1+(mortgir[i]/12/100)),(mortgtrm[i]*12))));	<br />                             tmortgpmt.setText(""+ dec.format(mortgpmt));<br />                             lmortgdetails = new JLabel("Payment Number\tLoan Balance\t\tInterest");<br />                             <br />                             //This will start the loop statement and declares formula for loan balance and interest paid<br />                                 while (balance &gt; 0.0){<br /> <br /> 		}	<br />                                 intpdthismth = mortgbal * (mortgir[i]/12/100);<br />                                 mortgbal = mortgbal - (mortgpmt - intpdthismth);<br />                                 mortpdsofar = mortpdsofar + (mortgpmt - intpdthismth);<br />                                 intbalance = intbalance - intpdthismth;<br />                                 intpaidsofar = intpaidsofar + intpdthismth;<br />                                 balance = balance - mortgpmt;<br />                                 noofpayments = noofpayments + 1;<br />                    <br />                                 //Displays the loan balance and interest paid<br />                                 lmortgdetails = new JLabel(noofpayments+"\t\t"+"$" + dec.format(balance)+"\t\t"+"$" + dec.format(intpdthismth));<br /> 			<br />                     }<br />                    <br />                         if (arg == "sel30"){<br />                             double mortgamt = Double.parseDouble(tmortgamt.getText());<br />                             mortgpmt = (mortgamt * (mortgir[i]/12/100)) / (1-(Math.pow(1/(1+(mortgir[i]/12/100)),(mortgtrm[i]*12))));<br />                             tmortgpmt.setText(""+ dec.format(tmortgpmt));<br />                             lmortgdetails = new JLabel("Payment Number\tLoan Balance\t\tInterest");<br />                             <br />                             //This will start the loop statement and declares formula for loan balance and interest paid<br />                                 while (balance &gt; 0.0){<br /> <br /> 		}	<br />                                 intpdthismth = mortgbal * (mortgir[i]/12/100);<br />                                 mortgbal = mortgbal - (mortgpmt - intpdthismth);<br />                                 mortpdsofar = mortpdsofar + (mortgpmt - intpdthismth);<br />                                 intbalance = intbalance - intpdthismth;<br />                                 intpaidsofar = intpaidsofar + intpdthismth;<br />                                 balance = balance - mortgpmt;<br />                                 noofpayments = noofpayments + 1;<br />                    <br />                                 //Displays the loan balance and interest paid<br />                                 lmortgdetails = new JLabel(noofpayments+"\t\t"+"$" + dec.format(balance)+"\t\t"+"$" + dec.format(intpdthismth));<br /> <br />                     }<br />                 <br />                 }<br />             }<br />         }<br />         <br />         <br /> public static void main(String args[]) {<br />       <br />    //Sets the size of the calculator interface window, as well as set a lable for it.<br />    //And allows the user to close the window if so desired.<br />            <br />            <br />            MortgageCalcOptions gui = new MortgageCalcOptions();<br />            gui.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br />            gui.setVisible(true);<br />            gui.setSize(480,600);<br />            gui.setTitle("Mortgage Calculator");<br /> 		<br /> 	}<br /> }<br /> <br /> <br /> [/code]]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3215/4501.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3215/4501.page</link>
				<pubDate><![CDATA[Fri, 27 Jan 2012 19:34:21]]> GMT</pubDate>
				<author><![CDATA[ dakotasw]]></author>
			</item>
			<item>
				<title>output of a program</title>
				<description><![CDATA[ public static void main(String ars[])<br /> {<br /> String text="cOmpUtEr",st=" ";<br /> for(int i=0;i&lt;text.length();i++)&gt;<br /> {<br /> if(Character.isLowerCase(text.charAt(i)))<br /> st+=Character.toUpperCase(text.charAt(i));<br /> elseif(Character.isUpperCase(text.char(i)));<br /> if(i%2!=0)<br /> st+=Character.toLowerCase(text.charAt(i));<br /> else<br /> st=text.charAt(i-1);<br /> }<br /> System.out.println(st);<br /> }]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3213/4495.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3213/4495.page</link>
				<pubDate><![CDATA[Tue, 17 Jan 2012 21:57:17]]> GMT</pubDate>
				<author><![CDATA[ puja219]]></author>
			</item>
			<item>
				<title>TCP/IP CLient-Server Chat Program</title>
				<description><![CDATA[ Hi Guys,<br /> <br /> I'm quite new here and am new to Java Programming, but i could use some help. I have a client-serve chat program and have almost finished it to my standards however I am trying to enable the server to accept multiple clients, how would i do this? what do i have to add or change on the server to allow this?<br /> <br /> Thanks<br /> <br /> Server<br /> [code]<br /> import java.awt.*;<br /> import java.net.*;<br /> import java.awt.*;          <br /> import java.awt.event.*;    <br /> import javax.swing.*;       <br /> import javax.swing.event.*;<br /> import java.io.*;<br /> <br /> public class SwingChatServer extends SwingChatGUI<br /> {<br /> 	public String outline;<br />     public String fromClient, s = "";<br /> 	PrintWriter out;<br /> 	BufferedReader in;<br /> 	BufferedReader stdin;<br /> 	String inputLine, outputLine;<br /> 	public ButtonHandler bHandler = new ButtonHandler();<br />     <br /> 	public SwingChatServer (String title)<br /> 	{<br /> 		super (title);<br /> 		bHandler = new ButtonHandler ();<br /> 		sendButton.addActionListener (bHandler);<br /> 	}<br /> <br /> 	private class ButtonHandler implements ActionListener<br /> 	{<br /> 		public void actionPerformed (ActionEvent event)<br /> 		{<br /> 			outputLine = txArea.getText ();<br /> 			System.out.println (&quot;Server :&gt; &quot; + outputLine);<br /> 			out.println (outputLine);<br /> 			outline = txArea.getText ();<br /> 			s = &quot;Server :&gt;&quot;+ outline+&quot;\n&quot;;<br /> 			rxArea.append(s);<br /> 			txArea.setText("");<br />     	}<br /> 	}<br />     <br /> 	public void run () throws IOException<br /> 	{<br /> 		ServerSocket serverSocket = null;<br />        <br /> 		try<br />         {<br />         	serverSocket = new ServerSocket (4444);<br />         }<br />         catch (IOException e)<br />         {<br />         	System.err.println ("Could not listen on port: 4444.");<br />         	System.exit (1);<br />         }<br /> <br />         Socket clientSocket = null;<br />         try<br />         {<br />         	clientSocket = serverSocket.accept ();<br />         }<br />         catch (IOException e)<br />         {<br />         	System.err.println ("Accept failed.");<br />         	System.exit(1);<br />         }<br /> <br />     	out = new PrintWriter (clientSocket.getOutputStream (), true);<br />     	in = new BufferedReader (new InputStreamReader (clientSocket.getInputStream ()));<br />     	//stdin = new BufferedReader (new InputStreamReader (System.in));<br /> <br />         out.println ("Welcome to the Chat Server");<br /> <br /> 		<br /> 		while ((fromClient = in.readLine ()) != null) //allows a new line to not over write the chat<br /> 		{<br /> 			System.out.println (&quot;Client :&gt; &quot; + fromClient);<br /> 			s = &quot;Client :&gt;&quot; + fromClient + &quot;\n&quot;;<br /> 			rxArea.append (s);<br /> 			<br /> 			if (fromClient.equals ("Bye"))System.exit(0);<br /> <br /> 		}<br /> 		<br />         out.close();<br />         in.close();<br />         clientSocket.close();<br />         serverSocket.close();<br />     }<br /> <br /> 	public static void main(String[] args) //throws IOException<br />     {<br /> <br />  		SwingChatServer frame = new SwingChatServer ("Chat Server Program");<br /> 		<br /> 		frame.pack ();<br /> 		frame.setVisible(true);<br /> 		frame.setIconImage(Toolkit.getDefaultToolkit().getImage("chat.jpg"));<br />         frame.setLocationRelativeTo(null);<br />         frame.setDefaultCloseOperation(EXIT_ON_CLOSE);<br /> 		try<br /> 		{<br /> 			frame.run ();<br /> 		}<br /> 		catch (IOException e)<br /> 		{<br /> 			System.err.println("Couldn't get I/O for the connection to: 194.81.104.118!\n");<br /> 			System.exit(1);<br /> 		}<br /> <br />     } <br /> }<br /> <br /> [/code]]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3212/4492.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3212/4492.page</link>
				<pubDate><![CDATA[Thu, 12 Jan 2012 10:00:46]]> GMT</pubDate>
				<author><![CDATA[ thornt5748]]></author>
			</item>
			<item>
				<title>MyHTTPClient.java help please</title>
				<description><![CDATA[ I'm not sure if this is where i should be asking but i'm trying to write a HTTP Client class which is meant to roughly do the following but i don't even know where to begin. any help will be greatly appreciated<br /> <br /> • Get web server host and port from request <br /> • Get the resource path on web server from the request <br /> • Get request parameter name/value pairs <br /> • Construct post request body <br /> • Get the length of the post request body <br /> • Open a connection to the web server (avaya/~STUDENTID) <br /> • Get socket input stream and wrap it in a buffered reader so it can be read line-by-line <br /> • Get socket output stream and wrap it in a buffered writer so it can be written to line-by-line <br /> • write the http post request to the web server connection <br /> • create an object to encapsulate the http response data <br /> • Read the http response status line <br /> • Extract the response status code and its description from the http response status line <br /> • Store the response status and description <br /> • If the response status code does not indicate success then raise an exception <br /> • Read the http response headers - terminated by a blank line <br /> • Split response header into a header name and value <br /> • Read the http response body <br /> • Close the connection to the web server <br /> • Return the response <br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3211/4490.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3211/4490.page</link>
				<pubDate><![CDATA[Tue, 10 Jan 2012 11:05:16]]> GMT</pubDate>
				<author><![CDATA[ java1306]]></author>
			</item>
			<item>
				<title>Sorting algorithm java confusion! Help please!</title>
				<description><![CDATA[ Hi! In our java class we're doing sorting algorithms.. Now in all honestly I'am confused as hell about these things! I'll paste the code im looking at and if someone would please explain to me how the program is swapping array data that would be great! Thanks!<br /> <br /> import java.util.Scanner;    <br /> <br /> public class inThirdPlace<br /> {<br /> <br /> public static void main(String[] args) {<br />         int[] grades = new int[5];<br />         System.out.println("Please enter " + grades.length + " grades...");<br />         input(grades);<br />         System.out.println("Original data:");<br />         output(grades);<br />         System.out.println("Just doing a selection sort...");<br />         sort(grades);<br />         System.out.println("Sorfted data:");<br />         output(grades);<br />     }<br />     <br />     public static void input(int[] arr)<br />     {<br />         Scanner scanner = new Scanner(System.in);<br />         <br />         for (int i = 0; i &lt; arr.length; i++)<br />         {<br />             System.out.print("Please enter " + (i + 1) + " of " + arr.length + ": ");<br />             arr[i] = scanner.nextInt();<br />         }<br />         <br />         // Make scanner<br />         // Ask for candiate<br />         // While input not -1<br />         //  arr[input - 1]++;<br />         //  Ask for candiate<br />     }<br />     <br />     public static void sort(int[] arr)<br />     {<br />          for (int pass = 1; pass &lt; arr.length; pass++)<br />          {<br />               int largestPos = findLargest(arr, arr.length - pass);<br />               if (largestPos != arr.length - pass)<br />               {<br />                    swap(arr, largestPos, arr.length - pass);<br />               }<br />               //output(arr); //this is for testing purposes only<br />          }<br />     }<br /> <br />     public static int findLargest(int [] arr, int num)<br />     {<br />             int largestPos = 0;<br />             for (int i = 1; i &lt;= num; i++)<br />             {<br />                     if (arr[i] &gt; arr[largestPos])<br />                     {<br />                             largestPos = i;<br />                     }<br />             }<br />             return largestPos;<br />     }<br /> <br />     public static void swap(int [] arr, int first, int second)<br />     {<br />          int temp = arr[first];<br />          arr[first] = arr[second];<br />          arr[second] = temp;<br />     }<br />     <br />     public static void output(int[] arr)<br />     {<br />         for (int i = 0; i &lt; arr.length; i++)<br />         {<br />             System.out.print("arr[" + i + "] = " + arr[i] + ", ");<br />         }<br />         System.out.println();<br />     }<br /> }]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3210/4489.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3210/4489.page</link>
				<pubDate><![CDATA[Mon, 9 Jan 2012 15:19:03]]> GMT</pubDate>
				<author><![CDATA[ benisjammin208]]></author>
			</item>
			<item>
				<title>need help with a project</title>
				<description><![CDATA[ I am working on a project and the requirements are getting through a 2d array. The 2d array is a maze with 1s as the way through and 0s as walls. I can get through the maze just fine but then we need to get back through the maze and I keep messing up. We must also get back through the maze the most efficient path and I don't know how to do that. Any help would be greatly appreciated.<br /> <br /> <br /> <br /> import javax.swing.JOptionPane;<br /> <br /> <br /> public class arrayStuff{<br /> <br /> public static void main (String args[]) <br /> {<br /> Moves front = null;<br /> Moves pointer = null;<br /> Moves next = null;<br /> <br /> int i = 0;<br /> int j=0;<br /> <br /> int[][] maze = { {1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0},//0<br />                  {0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,1,1,1,1,1,0},//1<br />                  {1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,1,1,1,1,1,0},//2<br />                  {1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0},//3<br />                  {1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0},//4<br />                  {1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0},//5<br />                  {1,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0},//6<br />                  {1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,0},//7<br />                  {1,0,0,1,1,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,0},//8<br />                  {1,0,0,1,0,0,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1},//9<br />                  {1,1,0,1,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,1},//10<br />                  {0,1,0,1,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,1},//11<br />                  {1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,1},//12<br />                  {1,0,0,1,0,1,0,1,0,1,1,1,1,1,0,1,0,1,1,1,0},//13<br />                  {1,0,0,0,0,1,0,1,0,1,1,0,0,0,0,1,0,0,0,1,1},//14<br />                  {1,0,1,1,1,1,0,1,0,1,0,0,0,1,1,1,0,1,0,1,1},//15<br />                  {1,0,1,0,0,0,0,1,0,1,1,1,0,1,0,0,0,1,0,1,1},//16<br />                  {1,0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,0,1,1,1,0},//17<br />                  {1,0,0,0,0,0,0,0,0,1,0,0,0,1,1,0,0,1,0,1,1},//18<br />                  {1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,0,1},//19<br />                  {1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,1}};//20<br />                 <br />       <br /> next = robotMove(maze,front, pointer,i,j,next);<br /> moveBack(maze, front,pointer,i,j,next);<br />  <br /> <br /> }<br /> <br /> <br /> <br /> public static Moves robotMove( int[][] maze, Moves front, Moves pointer,int i,int j, Moves next) <br /> {<br /> int robot = maze[0][0];<br /> <br /> <br /> <br /> <br /> while(maze[i][j]!=0&&i+j!=40)<br />       {<br />  <br /> <br />                     if(i&gt;0&&maze[i-1][j]==1)<br />                         {<br />                             robot=maze[i-1][j];<br />                             i=i-1;<br />                     <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                     if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />     <br />                   else if(j&gt;0&& maze[i][j-1]==1)<br />                         {<br />                             robot=maze[i][j-1];<br />                             j=j-1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                 if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 <br />                  else if (i&lt;20&&maze[i+1][j]==1)<br />                         { <br />                             robot=maze[i+1][j];<br />                             i=i+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                         <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                  if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />     <br />                 else if(j&lt;20&&maze[i][j+1]==1)<br />                         {<br />                             robot=maze[i][j+1];<br />                             j=j+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                  if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />     <br />     <br />         <br />                 else if(maze[i][j+1]==2)<br />                         { <br />                             robot=maze[i][j+1];<br />                             j=j+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                 <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                             if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 else if((i&gt;0)&&(maze[i-1][j]==2))<br />                         {<br />                             robot=maze[i-1][j];<br />                             i=i-1;<br />                     <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                     if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />     <br />                 else if(maze[i][j-1]==2)<br />                         {<br />                             robot=maze[i][j-1];<br />                             j=j-1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                 if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 <br />                  else if (maze[i+1][j]==2)<br />                         { <br />                             robot=maze[i+1][j];<br />                             i=i+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                         <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                  if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                         <br />                 else if(maze[i][j+1]==3)<br />                         { <br />                             robot=maze[i][j+1];<br />                             j=j+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                 <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                             if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 else  if(i&gt;0&&maze[i-1][j]==3 )<br />                         {<br />                             robot=maze[i-1][j];<br />                             i=i-1;<br />                     <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                     if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />     <br />                 else if( maze[i][j-1]==3)<br />                         {<br />                             robot=maze[i][j-1];<br />                             j=j-1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                 if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 <br />                  else if (maze[i+1][j]==3)<br />                         { <br />                             robot=maze[i+1][j];<br />                             i=i+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                         <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                  if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                         <br />                 else if(maze[i][j+1]==4)<br />                         { <br />                             robot=maze[i][j+1];<br />                             j=j+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                 <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                             if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 else  if(i&gt;0&&maze[i-1][j]==4 )<br />                         {<br />                             robot=maze[i-1][j];<br />                             i=i-1;<br />                     <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                     if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />     <br />                   else if(j&gt;0&& maze[i][j-1]==4)<br />                         {<br />                             robot=maze[i][j-1];<br />                             j=j-1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                     <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                 if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />                 <br />                  else if (maze[i+1][j]==4)<br />                         { <br />                             robot=maze[i+1][j];<br />                             i=i+1;<br />             <br />                             maze[i][j]=robot+1;<br />             <br />                         <br />                             String text="";<br />                             text=text+i;<br />                             String texts= "";<br />                             texts=texts + j;<br />                             String both = text+""+texts;<br />                             JOptionPane.showMessageDialog(null,both);<br />                             <br />                                  if (front != null)<br />                                         {<br />                                             orderMeth(maze, front,pointer,i,j,next);<br />                                         }<br />                                         <br />                                     else        <br />                                         {  <br />                                             front = new Moves();<br />                                             front.x = i;<br />                                             front.y =j;<br />                                             next = front;<br />                                             String bext="";<br />                                             bext=bext+front.x;<br />                                             JOptionPane.showMessageDialog(null,bext);<br />                                         }<br />                         }<br />        }<br />                     String text = "You have reached the end of the maze";<br />                     JOptionPane.showMessageDialog(null,text);<br />                     return next;<br /> }<br /> <br /> <br /> <br /> <br /> public static void moveBack(int[][] maze ,Moves front, Moves pointer,int i, int j, Moves next)<br />    <br />     {<br />         <br />         String out = "";<br />         <br />         {<br />             while (front!= null)<br />                 {<br />                     <br />                     out = out + front.x + "" + front.y + "\n";<br />                     front = front.link;<br />                 }<br />          JOptionPane.showMessageDialog(null,out);       <br />         }<br />     }<br />     <br />     <br /> public static Moves orderMeth(int[][] maze, Moves front,Moves pointer,int i, int j,Moves next)<br />     {<br />             pointer= new Moves();<br />             pointer.x=i;<br />             pointer.y=j;<br />             next.link= pointer;<br />             next = pointer;<br />             <br />             <br />            <br />             <br />             String out = "";<br />             out = next.x + "" + next.y;<br />             JOptionPane.showMessageDialog(null,out);<br />             <br />              return next;<br />     }<br /> }<br />  ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3209/4487.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3209/4487.page</link>
				<pubDate><![CDATA[Sat, 7 Jan 2012 17:32:02]]> GMT</pubDate>
				<author><![CDATA[ NeedHelp]]></author>
			</item>
			<item>
				<title>Graphics</title>
				<description><![CDATA[ Hi,<br /> <br /> My Java class in school was more of an introduction to the language, and not really that helpful at the end of the year. The class is almost over, and I don't even know the difference between private and public. That must show how "introy" it was.<br /> <br /> Anyway, the main things I want to do is develop games. Obviously I know there are better languages to use for that, but what I'm doing isn't really that complicated. If you get ANY game, regardless of what it's programmed in (look at Minecraft, for example. It's coded in Java.), they have separate folders for stuff like music, images, etc.<br /> <br /> I want to know how to make a game such as a top-down 2D old school dungeon sidescroller, and obviously you can't do that with my current knowledge of Java.<br /> <br /> Anywhere you can point me to that can teach me the following things (obviously I need more, but this is just a "off the top of my head" list):<br /> <br /> [code]<br /> 1: How to develop programs that have images you can make<br /> 2: How to add sound to a program<br /> 3: How to get images/sound/etc from different folders<br /> 4: Other general game programming things<br /> [/code]<br /> <br /> Thanks for any help you can give!]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3208/4484.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3208/4484.page</link>
				<pubDate><![CDATA[Fri, 6 Jan 2012 19:14:33]]> GMT</pubDate>
				<author><![CDATA[ chowbaaron]]></author>
			</item>
			<item>
				<title>delete</title>
				<description><![CDATA[ delete]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3207/4480.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3207/4480.page</link>
				<pubDate><![CDATA[Thu, 5 Jan 2012 03:38:12]]> GMT</pubDate>
				<author><![CDATA[ Zarcon]]></author>
			</item>
			<item>
				<title>Sorting 2-D Loops</title>
				<description><![CDATA[ Hello, I'm fairly new at java and cant seem to figure out this fairly simple exercise. I need a method that should pretty much first sort the order of the sub arrays by the rows in least to greatest. For example {{4, 7}, {2, 1}, {1, 3}, {4, 3}, {1, 1}} might be sorted to {{1, 3}, {1, 1}, {2, 1}, {4, 7}, {4, 3}}. The next step is sorting the resulting array by columns from least to greatest. So the resulting array after this would be {{1, 1}, {1, 3}, {2, 1}, {4, 3}, {4, 7}}. Please let me know if this is making sense.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3206/4479.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3206/4479.page</link>
				<pubDate><![CDATA[Wed, 4 Jan 2012 14:33:09]]> GMT</pubDate>
				<author><![CDATA[ joecartoonfn]]></author>
			</item>
			<item>
				<title>Random images with Virtual Max's Puzzlemaker</title>
				<description><![CDATA[ Hi! I'm wondering if there's a way I can use randomizing images with Virtual Max's Puzzlemaker applet. I know others have done it, but they're not willing to share their secrets, apparently. Every time the user refreshes the page, I'd like a new image to come up. I'm not a programmer, though, so I don't know how to do this.<br /> <br /> This is the source code the applet uses:<br /> &lt;APPLET CODEBASE=./&gt;<br />         CODE=puzzlemaker.class <br />         WIDTH=400 <br />         HEIGHT=400&gt;<br /> &lt;PARAM NAME="AUTHOR" VALUE="Virtual_Max (<a class="snap_shots" href="http://come.to/vmax" target="_blank" rel="nofollow">http://come.to/vmax</a>)"&gt;<br /> &lt;PARAM NAME="IMAGE" VALUE="010.png"&gt;<br /> &lt;PARAM NAME="KEY" VALUE="Free Version"&gt;<br /> &lt;PARAM NAME="ROWS" VALUE="8"&gt;<br /> &lt;PARAM NAME="COLS" VALUE="8"&gt;<br /> &lt;PARAM NAME="BGCOLOR" VALUE="fa94a9"&gt;<br /> &lt;PARAM NAME="TEXTCOLOR" VALUE="924c97"&gt;<br /> &lt;PARAM NAME="LINK" VALUE="games_rewards.php"&gt;<br /> &lt;PARAM NAME="TARGET" VALUE="_self"&gt;&lt;/applet&gt;<br /> <br /> Can anyone help? I've tried doing web searches, but I didn't come up with anything.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/3205/4477.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/3205/4477.page</link>
				<pubDate><![CDATA[Wed, 28 Dec 2011 13:46:31]]> GMT</pubDate>
				<author><![CDATA[ Kiara]]></author>
			</item>
	</channel>
</rss>
