I have posted the related topic in the Java forum!
Now, i am having a very differnet problem altogether.
1. i am being able to call the C program from the Java frame using a "Button" in the inteface.
2. But the problem i am facing now is that the printf statement that i wrote in my demo C program is being output only in the Command prompt screen, not in the Text area which i have for the input and output to the C program. As we all know that C returns only int, float double etc. i am facing this problem.
If anybody helps i will be grateful!