Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If i click on the button then a c-program should execute in background and the output should be displayed in the AWT window.Use native method
Posted
Updated 17-Jan-13 23:12pm
v2
Comments
nv3 18-Jan-13 5:14am    
And what is your question? Or were you expecting us to do your work? I am quite certain that you will find enough examples in CodeProject to complete your assignment. Try it by yourself and if you get stuck somewhere you are most welcome to get back here and ask a concrete question.

1 solution

The Java Native Interface[^] may help you. Or maybe the Process class[^].
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900