<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Tech Support Forums - TechIMO.com - Webmastering and Programming</title>
		<link>http://www.techimo.com/forum</link>
		<description>Running a site or developing an application - code, tips, feedback, advice, new technologies.</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 06:35:09 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.techimo.com/forum/images/misc/rss.jpg</url>
			<title>Tech Support Forums - TechIMO.com - Webmastering and Programming</title>
			<link>http://www.techimo.com/forum</link>
		</image>
		<item>
			<title>How do I make a java program that prints my name with...</title>
			<link>http://www.techimo.com/forum/webmastering-programming/239777-how-do-i-make-java-program-prints-my-name.html</link>
			<pubDate>Fri, 20 Nov 2009 05:06:42 GMT</pubDate>
			<description>How do I delete a thread?</description>
			<content:encoded><![CDATA[<div>How do I delete a thread?</div>

]]></content:encoded>
			<category domain="http://www.techimo.com/forum/webmastering-programming/">Webmastering and Programming</category>
			<dc:creator>darkertint</dc:creator>
			<guid isPermaLink="true">http://www.techimo.com/forum/webmastering-programming/239777-how-do-i-make-java-program-prints-my-name.html</guid>
		</item>
		<item>
			<title><![CDATA[PJX & Java]]></title>
			<link>http://www.techimo.com/forum/webmastering-programming/239702-pjx-java.html</link>
			<pubDate>Wed, 18 Nov 2009 21:23:37 GMT</pubDate>
			<description><![CDATA[Does anyone have any experience using PJX in conjunction with Java? I am attempting to develop an application that will read my daily reports and parse them to an XML file.

I have been reading through their API and 'tutorial' but neither are very thoroughly documented (they're quite vague)...]]></description>
			<content:encoded><![CDATA[<div>Does anyone have any experience using PJX in conjunction with Java? I am attempting to develop an application that will read my daily reports and parse them to an XML file.<br />
<br />
I have been reading through their API and 'tutorial' but neither are very thoroughly documented (they're quite vague)...</div>

]]></content:encoded>
			<category domain="http://www.techimo.com/forum/webmastering-programming/">Webmastering and Programming</category>
			<dc:creator>theGlitch</dc:creator>
			<guid isPermaLink="true">http://www.techimo.com/forum/webmastering-programming/239702-pjx-java.html</guid>
		</item>
		<item>
			<title>Help with code please</title>
			<link>http://www.techimo.com/forum/webmastering-programming/239239-help-code-please.html</link>
			<pubDate>Mon, 09 Nov 2009 08:28:12 GMT</pubDate>
			<description><![CDATA[I have to write a program based on the 12 days of x-mas that requests an integer from 1 -12 and then lists the gifts for that day along with that day's cost. (Each item has a price which is listed in a text file) It also has to show the total cost for all 12 days. Here is a sample output if user inputs day 3.
The gifts for day 3 are
1 partridge in a pear tree ($164.99)
2 turtle doves ($20 each)
3 french hens ($15 each)
cost: $249.99
Total cost for the twelve days: $78,100.30
Here is my code that I have written but it is not working. It is in VB 2008
Thanks

Public Class frmChristmas

Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click

Dim name As String
Dim count As Integer
Dim price, cost, totalCost As Double
Dim sr As IO.StreamReader = IO.File.OpenText("Christmas.txt")
count = CInt(sr.ReadLine)

count += 1
cost = price * count

For i As Integer = 1 To count
name = sr.ReadLine

Next
sr.Close()

For i As Integer = 1 To 12
IO.File.OpenText("Christmas.txt")
count = CInt(sr.ReadLine)
name = sr.ReadLine
count += 1
cost = price * count
totalCost += cost
lstOutput.Items.Add("The gifts for day" & count & "are")
Next
sr.Close()

End Sub
End Class]]></description>
			<content:encoded><![CDATA[<div>I have to write a program based on the 12 days of x-mas that requests an integer from 1 -12 and then lists the gifts for that day along with that day's cost. (Each item has a price which is listed in a text file) It also has to show the total cost for all 12 days. Here is a sample output if user inputs day 3.<br />
The gifts for day 3 are<br />
1 partridge in a pear tree ($164.99)<br />
2 turtle doves ($20 each)<br />
3 french hens ($15 each)<br />
cost: $249.99<br />
Total cost for the twelve days: $78,100.30<br />
Here is my code that I have written but it is not working. It is in <acronym title="vBulletin">VB</acronym> 2008<br />
Thanks<br />
<br />
Public Class frmChristmas<br />
<br />
Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click<br />
<br />
Dim name As String<br />
Dim count As Integer<br />
Dim price, cost, totalCost As Double<br />
Dim sr As IO.StreamReader = IO.File.OpenText(&quot;Christmas.txt&quot;)<br />
count = CInt(sr.ReadLine)<br />
<br />
count += 1<br />
cost = price * count<br />
<br />
For i As Integer = 1 To count<br />
name = sr.ReadLine<br />
<br />
Next<br />
sr.Close()<br />
<br />
For i As Integer = 1 To 12<br />
IO.File.OpenText(&quot;Christmas.txt&quot;)<br />
count = CInt(sr.ReadLine)<br />
name = sr.ReadLine<br />
count += 1<br />
cost = price * count<br />
totalCost += cost<br />
lstOutput.Items.Add(&quot;The gifts for day&quot; &amp; count &amp; &quot;are&quot;)<br />
Next<br />
sr.Close()<br />
<br />
End Sub<br />
End Class</div>

]]></content:encoded>
			<category domain="http://www.techimo.com/forum/webmastering-programming/">Webmastering and Programming</category>
			<dc:creator>pcgenius</dc:creator>
			<guid isPermaLink="true">http://www.techimo.com/forum/webmastering-programming/239239-help-code-please.html</guid>
		</item>
		<item>
			<title>Stacks and Vectors in C++</title>
			<link>http://www.techimo.com/forum/webmastering-programming/239219-stacks-vectors-c.html</link>
			<pubDate>Mon, 09 Nov 2009 00:59:43 GMT</pubDate>
			<description><![CDATA[I am currently working on a project and need help with one part.  We are not allowed to use the built in library for the stack, but instead must create one of our own.  We haven't seen any examples of this, and were just told that we could use either a linked list or a vector, and we chose vector.  Any help?]]></description>
			<content:encoded><![CDATA[<div>I am currently working on a project and need help with one part.  We are not allowed to use the built in library for the stack, but instead must create one of our own.  We haven't seen any examples of this, and were just told that we could use either a linked list or a vector, and we chose vector.  Any help?</div>

]]></content:encoded>
			<category domain="http://www.techimo.com/forum/webmastering-programming/">Webmastering and Programming</category>
			<dc:creator>bm159486</dc:creator>
			<guid isPermaLink="true">http://www.techimo.com/forum/webmastering-programming/239219-stacks-vectors-c.html</guid>
		</item>
		<item>
			<title>calculation in GUI problem</title>
			<link>http://www.techimo.com/forum/webmastering-programming/239086-calculation-gui-problem.html</link>
			<pubDate>Thu, 05 Nov 2009 15:46:39 GMT</pubDate>
			<description><![CDATA[hye..i'm newbie...plz help me..i have problem with calculation in this subclass
what problem i counter is the result i want appear in receipt was not appear..that is 8 field in the receipt..Name,address,Hp.no,Pizza type,size,Quantity,side order and total price..for now what just appear is name,address and hp no..the other i don't know why not appear..and the big problem is about total price..i have insert the price side of the item but that not appear also..thank so much if somebody can help me..this a subclass code:

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.TitledBorder;
import java.awt.event.ActionListener.*;

public class Form extends JFrame implements ActionListener{

        private JTextField jtfname,jtfaddress,jtfnotel,jtfquan,jlabName,jlabAdd,jlabtel,jlabtype,jlabquan,jlabsize,jlabside,jlabprice;
        private JButton jbtconfirm,jbtmainmenu;
        private JCheckBox jcbCW,jcbMS,jcbS,jcbCL,jcbC,jcbB;
        private JRadioButton jrbSmall,jrbRegular,jrbLarge,jrbex,jrbalo;
    
        
        public Form(){
        
        //Create a new panel to hold label and text field
        JPanel p1 = new JPanel(new FlowLayout());
        p1.setBorder(new TitledBorder("CUSTOMER'S DETAILS"));    
        p1.setLayout(new GridLayout(5,2));
        p1.add(new JLabel("Name:"));
        p1.add(jtfname= new JTextField(3));
        p1.add(new JLabel("Address:"));
        p1.add(jtfaddress= new JTextField(3));
        p1.add(new JLabel("No Tel:"));
        p1.add(jtfnotel= new JTextField(3));
        //Receipt
        JPanel receipt = new JPanel(new FlowLayout());
        receipt.setBorder(new TitledBorder("YOUR RECEIPT"));
        receipt.setLayout(new GridLayout(8,2));
        receipt.add(new JLabel("Name:"));    
        receipt.add(jlabName = new JTextField(8));
        receipt.add(new JLabel("Address:"));    
        receipt.add(jlabAdd = new JTextField(8));
        receipt.add(new JLabel("HP.No:"));
        receipt.add(jlabtel = new JTextField(8));
        receipt.add(new JLabel("Pizza's type:"));
        receipt.add(jlabtype = new JTextField(8));
        receipt.add(new JLabel("Size:"));
        receipt.add(jlabsize = new JTextField(8));
        receipt.add(new JLabel("Quantity:"));
        receipt.add(jlabquan = new JTextField(8));
        receipt.add(new JLabel("Side Order:"));
        receipt.add(jlabside = new JTextField(8));
        receipt.add(new JLabel("Total price:"));
        receipt.add(jlabprice = new JTextField(8));
    
        /*jlabName.setHorizontalAlignment(JTextField.RIGHT);
        jlabAdd.setHorizontalAlignment(JTextField.RIGHT);
        jlabtel.setHorizontalAlignment(JTextField.RIGHT);
        jlabtype.setHorizontalAlignment(JTextField.RIGHT);
        jlabsize.setHorizontalAlignment(JTextField.RIGHT);
        jlabquan.setHorizontalAlignment(JTextField.RIGHT);
        jlabside.setHorizontalAlignment(JTextField.RIGHT);
        jlabprice.setHorizontalAlignment(JTextField.RIGHT);*/
        
        jlabName.setEditable(false);
        jlabAdd.setEditable(false);
        jlabtel.setEditable(false);
        jlabtype.setEditable(false);
        jlabsize.setEditable(false);
        jlabquan.setEditable(false);
        jlabside.setEditable(false);
        jlabprice.setEditable(false);
        receipt.setBackground(Color.orange);
        //add the component 
        Container container = getContentPane();        
        container.add(p1,BorderLayout.NORTH);
        container.add(receipt,BorderLayout.SOUTH);

        //add radio button
        JPanel p2= new JPanel();
        p2.setBorder(new TitledBorder("TYPE OF PIZZA"));
        p2.setLayout(new GridLayout(8,2));
        ButtonGroup sizeGroup=new ButtonGroup();
        
        jrbex=new JRadioButton("Extravaganza RM23.80");
        jrbex.setSelected(true);
        p2.add(jrbex);
        sizeGroup.add(jrbex);
        
        jrbalo=new JRadioButton("Aloha Chicken RM23.80");
        p2.add(jrbalo);
        sizeGroup.add(jrbalo);
        container.add(p2,BorderLayout.WEST);
        
        //put check box
        JPanel p3 = new JPanel(new FlowLayout());
        p3.setLayout(new GridLayout(8,2));
        p3.add(jcbCW=new JCheckBox("Chicken Wings RM2.99"));
        p3.add(jcbMS=new JCheckBox("Mushroom Soup RM2.99"));
        p3.add(jcbS=new JCheckBox("Spaghetti RM5.00"));
        p3.add(jcbCL=new JCheckBox("Chicken Lasagna RM3.00"));
        p3.add(jcbC=new JCheckBox("Coleslaw RM2.00"));
        p3.add(jcbB=new JCheckBox("Breadstick RM2.00"));
        p3.setBorder(new TitledBorder("SIDE ORDER"));
        getContentPane().add(p3,BorderLayout.EAST);
        //Set mnemonic keys for ceck box and radio button
        jcbCW.setMnemonic('W');
        jcbMS.setMnemonic('M');
        jcbS.setMnemonic('S');
        jcbCL.setMnemonic('L');
        jcbC.setMnemonic('C');
        jcbB.setMnemonic('B');
        
        //add radio button
        JPanel p4= new JPanel();
        p4.setBorder(new TitledBorder("SIZE OF PIZZA"));
        p4.setLayout(new GridLayout(7,2));
        ButtonGroup sizeGroup2=new ButtonGroup();
        
        jrbSmall=new JRadioButton("Small");
        jrbSmall.setSelected(true);
        p4.add(jrbSmall);
        sizeGroup2.add(jrbSmall);
        
        jrbRegular=new JRadioButton("Regular");
        p4.add(jrbRegular);
        sizeGroup2.add(jrbRegular);
        
        jrbLarge=new JRadioButton("Large");
        p4.add(jrbLarge);
        sizeGroup2.add(jrbLarge);
        jrbSmall.setSelected(true);
        
        p4.add(new JLabel("QUANTITY:"));
        p4.add(jtfquan= new JTextField(1));
        jtfquan.setHorizontalAlignment(JTextField.RIGHT);
        //ok and menu button
        
        p4.add(jbtconfirm=new JButton("CONFIRM ORDER"));
        p4.add(jbtmainmenu=new JButton("MAIN MENU"));
        //Register button listener
        jbtconfirm.addActionListener(this);
        jbtmainmenu.addActionListener(this);
        
        container.add(p4,BorderLayout.CENTER);
        
        
        
                    

        
        }
    public void actionPerformed(ActionEvent e)
    {
             
             if (e.getSource() == jbtconfirm)
             {
                  String name = jtfname.getText();
                jlabName.setText(String.valueOf(name));
                String address = jtfaddress.getText();
                jlabAdd.setText(String.valueOf(address));
                String tel = jtfnotel.getText();
                jlabtel.setText(String.valueOf(tel));
                String type =jlabtype.getInputContext();
                jlabtype.setText(String.valueOf(type));
                
                
   
             }
            if (e.getSource() == jbtmainmenu)
             {
                secondpage frame = new secondpage();
                frame.setTitle("Main Menu");
                frame.setLocationRelativeTo(null);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setSize(400,400);
                frame.setLocation(450,170);
                frame.setVisible(true);
                this.dispose();
             }    
    
    }
        
    
        
/*     // Main method 
 public static void main(String[] args) {
    Form frame = new Form();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setTitle("ORDER FORM");
    frame.setSize(600, 600);
    frame.setVisible(true);
  
}*/
  
}]]></description>
			<content:encoded><![CDATA[<div>hye..i'm newbie...plz help me..i have problem with calculation in this subclass<br />
what problem i counter is the result i want appear in receipt was not appear..that is 8 field in the receipt..Name,address,Hp.no,Pizza type,size,Quantity,side order and total price..for now what just appear is name,address and hp no..the other i don't know why not appear..and the big problem is about total price..i have insert the price side of the item but that not appear also..thank so much if somebody can help me..this a subclass code:<br />
<br />
import java.awt.*;<br />
import java.awt.event.*;<br />
import javax.swing.*;<br />
import javax.swing.border.TitledBorder;<br />
import java.awt.event.ActionListener.*;<br />
<br />
public class Form extends JFrame implements ActionListener{<br />
<br />
        private JTextField jtfname,jtfaddress,jtfnotel,jtfquan,jlabName,jlabA  dd,jlabtel,jlabtype,jlabquan,jlabsize,jlabside,jla  bprice;<br />
        private JButton jbtconfirm,jbtmainmenu;<br />
        private JCheckBox jcbCW,jcbMS,jcbS,jcbCL,jcbC,jcbB;<br />
        private JRadioButton jrbSmall,jrbRegular,jrbLarge,jrbex,jrbalo;<br />
    <br />
        <br />
        public Form(){<br />
        <br />
        //Create a new panel to hold label and text field<br />
        JPanel p1 = new JPanel(new FlowLayout());<br />
        p1.setBorder(new TitledBorder(&quot;CUSTOMER'S DETAILS&quot;));    <br />
        p1.setLayout(new GridLayout(5,2));<br />
        p1.add(new JLabel(&quot;Name:&quot;));<br />
        p1.add(jtfname= new JTextField(3));<br />
        p1.add(new JLabel(&quot;Address:&quot;));<br />
        p1.add(jtfaddress= new JTextField(3));<br />
        p1.add(new JLabel(&quot;No Tel:&quot;));<br />
        p1.add(jtfnotel= new JTextField(3));<br />
        //Receipt<br />
        JPanel receipt = new JPanel(new FlowLayout());<br />
        receipt.setBorder(new TitledBorder(&quot;YOUR RECEIPT&quot;));<br />
        receipt.setLayout(new GridLayout(8,2));<br />
        receipt.add(new JLabel(&quot;Name:&quot;));    <br />
        receipt.add(jlabName = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;Address:&quot;));    <br />
        receipt.add(jlabAdd = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;HP.No:&quot;));<br />
        receipt.add(jlabtel = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;Pizza's type:&quot;));<br />
        receipt.add(jlabtype = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;Size:&quot;));<br />
        receipt.add(jlabsize = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;Quantity:&quot;));<br />
        receipt.add(jlabquan = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;Side Order:&quot;));<br />
        receipt.add(jlabside = new JTextField(8));<br />
        receipt.add(new JLabel(&quot;Total price:&quot;));<br />
        receipt.add(jlabprice = new JTextField(8));<br />
    <br />
        /*jlabName.setHorizontalAlignment(JTextField.RIGHT)  ;<br />
        jlabAdd.setHorizontalAlignment(JTextField.RIGHT);<br />
        jlabtel.setHorizontalAlignment(JTextField.RIGHT);<br />
        jlabtype.setHorizontalAlignment(JTextField.RIGHT);<br />
        jlabsize.setHorizontalAlignment(JTextField.RIGHT);<br />
        jlabquan.setHorizontalAlignment(JTextField.RIGHT);<br />
        jlabside.setHorizontalAlignment(JTextField.RIGHT);<br />
        jlabprice.setHorizontalAlignment(JTextField.RIGHT)  ;*/<br />
        <br />
        jlabName.setEditable(false);<br />
        jlabAdd.setEditable(false);<br />
        jlabtel.setEditable(false);<br />
        jlabtype.setEditable(false);<br />
        jlabsize.setEditable(false);<br />
        jlabquan.setEditable(false);<br />
        jlabside.setEditable(false);<br />
        jlabprice.setEditable(false);<br />
        receipt.setBackground(Color.orange);<br />
        //add the component <br />
        Container container = getContentPane();        <br />
        container.add(p1,BorderLayout.NORTH);<br />
        container.add(receipt,BorderLayout.SOUTH);<br />
<br />
        //add radio button<br />
        JPanel p2= new JPanel();<br />
        p2.setBorder(new TitledBorder(&quot;TYPE OF PIZZA&quot;));<br />
        p2.setLayout(new GridLayout(8,2));<br />
        ButtonGroup sizeGroup=new ButtonGroup();<br />
        <br />
        jrbex=new JRadioButton(&quot;Extravaganza RM23.80&quot;);<br />
        jrbex.setSelected(true);<br />
        p2.add(jrbex);<br />
        sizeGroup.add(jrbex);<br />
        <br />
        jrbalo=new JRadioButton(&quot;Aloha Chicken RM23.80&quot;);<br />
        p2.add(jrbalo);<br />
        sizeGroup.add(jrbalo);<br />
        container.add(p2,BorderLayout.WEST);<br />
        <br />
        //put check box<br />
        JPanel p3 = new JPanel(new FlowLayout());<br />
        p3.setLayout(new GridLayout(8,2));<br />
        p3.add(jcbCW=new JCheckBox(&quot;Chicken Wings RM2.99&quot;));<br />
        p3.add(jcbMS=new JCheckBox(&quot;Mushroom Soup RM2.99&quot;));<br />
        p3.add(jcbS=new JCheckBox(&quot;Spaghetti RM5.00&quot;));<br />
        p3.add(jcbCL=new JCheckBox(&quot;Chicken Lasagna RM3.00&quot;));<br />
        p3.add(jcbC=new JCheckBox(&quot;Coleslaw RM2.00&quot;));<br />
        p3.add(jcbB=new JCheckBox(&quot;Breadstick RM2.00&quot;));<br />
        p3.setBorder(new TitledBorder(&quot;SIDE ORDER&quot;));<br />
        getContentPane().add(p3,BorderLayout.EAST);<br />
        //Set mnemonic keys for ceck box and radio button<br />
        jcbCW.setMnemonic('W');<br />
        jcbMS.setMnemonic('M');<br />
        jcbS.setMnemonic('S');<br />
        jcbCL.setMnemonic('L');<br />
        jcbC.setMnemonic('C');<br />
        jcbB.setMnemonic('B');<br />
        <br />
        //add radio button<br />
        JPanel p4= new JPanel();<br />
        p4.setBorder(new TitledBorder(&quot;SIZE OF PIZZA&quot;));<br />
        p4.setLayout(new GridLayout(7,2));<br />
        ButtonGroup sizeGroup2=new ButtonGroup();<br />
        <br />
        jrbSmall=new JRadioButton(&quot;Small&quot;);<br />
        jrbSmall.setSelected(true);<br />
        p4.add(jrbSmall);<br />
        sizeGroup2.add(jrbSmall);<br />
        <br />
        jrbRegular=new JRadioButton(&quot;Regular&quot;);<br />
        p4.add(jrbRegular);<br />
        sizeGroup2.add(jrbRegular);<br />
        <br />
        jrbLarge=new JRadioButton(&quot;Large&quot;);<br />
        p4.add(jrbLarge);<br />
        sizeGroup2.add(jrbLarge);<br />
        jrbSmall.setSelected(true);<br />
        <br />
        p4.add(new JLabel(&quot;QUANTITY:&quot;));<br />
        p4.add(jtfquan= new JTextField(1));<br />
        jtfquan.setHorizontalAlignment(JTextField.RIGHT);<br />
        //ok and menu button<br />
        <br />
        p4.add(jbtconfirm=new JButton(&quot;CONFIRM ORDER&quot;));<br />
        p4.add(jbtmainmenu=new JButton(&quot;MAIN MENU&quot;));<br />
        //Register button listener<br />
        jbtconfirm.addActionListener(this);<br />
        jbtmainmenu.addActionListener(this);<br />
        <br />
        container.add(p4,BorderLayout.CENTER);<br />
        <br />
        <br />
        <br />
                    <br />
<br />
        <br />
        }<br />
    public void actionPerformed(ActionEvent e)<br />
    {<br />
             <br />
             if (e.getSource() == jbtconfirm)<br />
             {<br />
                  String name = jtfname.getText();<br />
                jlabName.setText(String.valueOf(name));<br />
                String address = jtfaddress.getText();<br />
                jlabAdd.setText(String.valueOf(address));<br />
                String tel = jtfnotel.getText();<br />
                jlabtel.setText(String.valueOf(tel));<br />
                String type =jlabtype.getInputContext();<br />
                jlabtype.setText(String.valueOf(type));<br />
                <br />
                <br />
   <br />
             }<br />
            if (e.getSource() == jbtmainmenu)<br />
             {<br />
                secondpage frame = new secondpage();<br />
                frame.setTitle(&quot;Main Menu&quot;);<br />
                frame.setLocationRelativeTo(null);<br />
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOS  E);<br />
                frame.setSize(400,400);<br />
                frame.setLocation(450,170);<br />
                frame.setVisible(true);<br />
                this.dispose();<br />
             }    <br />
    <br />
    }<br />
        <br />
    <br />
        <br />
/*     // Main method <br />
 public static void main(String[] args) {<br />
    Form frame = new Form();<br />
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOS  E);<br />
    frame.setTitle(&quot;ORDER FORM&quot;);<br />
    frame.setSize(600, 600);<br />
    frame.setVisible(true);<br />
  <br />
}*/<br />
  <br />
}</div>

]]></content:encoded>
			<category domain="http://www.techimo.com/forum/webmastering-programming/">Webmastering and Programming</category>
			<dc:creator>forceblogger</dc:creator>
			<guid isPermaLink="true">http://www.techimo.com/forum/webmastering-programming/239086-calculation-gui-problem.html</guid>
		</item>
		<item>
			<title>Java Code Help</title>
			<link>http://www.techimo.com/forum/webmastering-programming/238865-java-code-help.html</link>
			<pubDate>Mon, 02 Nov 2009 01:39:25 GMT</pubDate>
			<description><![CDATA[public class Outer {
    
    void method (){System.out.println("Outer");}
    
    
    class Inner {Inner in = new Inner();
    
    void method (){System.out.println("Inner");}
    
    
    }
   
   
    public static void main(String[] args) {
      
    Outer out = new Outer();
    new Outer().new Inner().method();
    
    }
    
}

This Results Run Time Exception why ?]]></description>
			<content:encoded><![CDATA[<div>public class Outer {<br />
    <br />
    void method (){System.out.println(&quot;Outer&quot;);}<br />
    <br />
    <br />
    class Inner {Inner in = new Inner();<br />
    <br />
    void method (){System.out.println(&quot;Inner&quot;);}<br />
    <br />
    <br />
    }<br />
   <br />
   <br />
    public static void main(String[] args) {<br />
      <br />
    Outer out = new Outer();<br />
    new Outer().new Inner().method();<br />
    <br />
    }<br />
    <br />
}<br />
<br />
This Results Run Time Exception why ?</div>

]]></content:encoded>
			<category domain="http://www.techimo.com/forum/webmastering-programming/">Webmastering and Programming</category>
			<dc:creator>abalasuriya</dc:creator>
			<guid isPermaLink="true">http://www.techimo.com/forum/webmastering-programming/238865-java-code-help.html</guid>
		</item>
	</channel>
</rss>
