I'm not sure if I understand correctly, but here it goes anyway.
I think your saying that you want to call a method into your main method which is in the tempcalc.class.
If this is what you want then say your method that you want to call is caculateTemp and it has no arguments then you would
insert caculateTemp(); where you wanted to execute that method. If the method contains arguments then you would
insert caculateTemp(your arguments here);
I probably confused you more, but I hope this helps instead.
Good Luck
Banderson
Junior Poster in Training
66 posts since Aug 2004
Reputation Points: 17
Solved Threads: 8