From: Boudewijn R. <bo...@re...> - 2000-12-13 06:18:58
|
On Wed, 13 Dec 2000, Samuele Pedroni wrote: > Hi. > > > Isn't Samuele Pedroni's scratchpad an example of this? > > > > http://sourceforge.net/projects/jppad/ > > > > No, it's a standalone application. I guess not the good startpoint for > attaching a window > inside an existing application. > > VisAD JPythonEditor should be (I guess) such a thing: > > http://www.ssec.wisc.edu/~billh/visad.html#python ... > > regards, Samuele Pedroni. > I've used the example Pyconsole for this end - I needed to tweak it a bit to circumvent Java security, but in the end it was very doable. I'm currently trying to find a publisher interested in an article on the process, but basically, what you need to do is add a signature to everything in Pyconsole, make it a Java Object and pass it an object that contains your interface to your application. People on this list have been very helpful, so there are threads about it. I can send you the actual Python code, if you want. Boudewijn Rempt | http://www.valdyas.org |