i want to create a GUI application in which i divide the frame into two parts, one part is like notepad where user can write there
java code, and the other part i use for output display as displayed on console, i also want to provide two buttons one for COMPILE and anathor for RUN, when user click on compile button all that displayed on console should be displayed on my second part of frame, and if every thing is ok on click of run button the output should also displayed on second part of frame, means i dont want to use console my application should do all.
my problem is that how i can get all the things displayed on console to print them to my frame. can anybody help me???