Question for TheDoctor. The code for my java problem is located at http://ge.tt/7GIJM1k The code for the fraction application to be updated is also included. I need the solution by Friday 28th June. Thanks.
Sorry for the delay in getting back to you. The IDE I use is eclipse.
I will run this this evening and contact you if I have any questions. Thanks.
I have completed going through the solution you sent me.
Most of the assignment is O.K except for the conversion application piece in question 1.
The code you have used seems to be application generated but I am supposed to use manually written (not generated) code. I have attempted to replace the generated code with manually written code, but I need your assistance to update my code using manually written java to properly set the layouts of the Length Conversion frame similar to what you generated.
Convert(original).txt is the code you created. Convert.java is my attempt to replace it with manually written code.
This is the link I meant to sent http://ge.tt/7r9uKkk.
I am using Eclipse SDK 3.7.2
I downloaded the above file and ran in in eclipse. What I got is shown in the screenshot called Result located at http://ge.tt/4uy8hkk/v/0 .
I could not see any difference. I still can't enter any values in any of the feet inches and centimeters fields. I had managed to rewrite the code to manually generate the frame, but I needed the code updated so that I could enter values into those text fields.
Sorry, I sent you the wrong file. I sent you the file you sent me instead of the updated file.http://wikisend.com/download/380232/Convert.zipThe file you sent me didn't even have a main method. And the only reason tat you cannot enter values in your version is because you never set the columns on the text fields. For instance:txtFeet.setColumns(2);All your text fields are 0 length.Also, in the file you sent me, you never added the first result text to the panel. You created it (metricResult), but you never add it to the panel.
Thank you for your help and for pointing out the errors in my code. What you sent me is O.K. now.