Java GUI to show Boolean Truth Tables
Posted on 2003-11-18
I am a java novice and am trying to prove my worth to my so-called Java 'expert' friends. As a result of this i stupidly took up a bet with one of these friends. The bet was that i would not be able to create a java application that consists of a GUI that will enable a user to enter a Boolean term and the the application will then display a truth table for the that term. To prove that i could do this is told my friend that this would be easy. This was another studip mistake as he then added more stuff to it. The application should also be able to clear any previously entered terms and give the user the option to be able to request that the term be displayed with or without the appropriate brackets. The application should also be able to report an informative error-message if the term that has been entered is not well-formed.
To be total honest i have bitten off more than i can chew here. i do not know where to begin and have no chance off winning this bet. As a result i have know code to show you.
If i can pull it off i will be shown more respect and become more excepted into the circle of 'experts'. No one will help me as they all know about the bet and do not want to get involved.
i know that this question has a background that may be a bit out of the ordinary but any help that can be provided would be greatly appreciated.
ps. i know that this is alot to ask for only 65 points but it is all that i have available. Please help!