I've recently completed a project in Java,and showed it to my advisor. Forget about the detail about the project,my final output of the program is to simply output two webpages(one is translated by Google,the other is the Chinses webpage that I retrieved).
The two statements that I wrote are:
Process p=Runtime.getRuntime().exec("cmd /c start http://news.baidu.com/ns?word="+key1+"+"+keyy+"&bt=0&et=0&si=&rn=20&tn=newsA&ie=gb2312&ct=1&cl=2&f=12");
Process r=Runtime.getRuntime().exec("cmd /c start http://translate.google.cn/translate?u=http%3A%2F%2F"+u.substring(7)+"&sl=en&tl=zh-CN&hl=zh-CN&ie=UTF-8");
They will pop up two IE windows to show the webpage.
My advisor is satisfied with my result,but he is not happy with the output format.He would like to see these two webpages shown in a GUI window instead of IE windows.(Preferably with some panel seperating the two pages in this GUI).
I am just suddenly stuck on this point,how would I put those two webpages into a GUI frame in Java (in two seperate text boxes or sth. similar).
I am using Eclipse IDE.
Please kindly help ,either with ideas or code,thanks.