( probably common issue, will continue to search but )

I have a swing application. I've been first launching Jython, then calling execfile('myapp.py') to bring up the GUI. Then, I am able to modify and play with the GUI from the Jython shell. Is there an easy way to just bring up the Jython shell inside a text area within the GUI? So that I can just run everything with one click?