PDA

View Full Version : Help with Postfix/Infix Calculator??


comp101
07-23-2009, 08:20 AM
I have a perfect GUI and what I thought was a perfect code but I cannot get my postfix calculator to work! I want to the user to be able to enter an infix expression in the corresponding JTextField and have the output in postfix form be represented in the corresponding JTextArea. Can someone pleasssse help me and/or guide me in the right direction?

**The two files are attached, I had to put them in a .txt file because you cannot attach .java files**

PostfixInfix.txt -- GUI and actionperformed method
7608

Postfix.txt -- feeble attempt of postfix code (although had given)
7607

HELP NEEDED AND MUCH APPRECIATION TO EVERYONE