Message4873

Author thijs
Recipients thijs
Date 2009-07-02.18:24:21
SpamBayes Score 4.97714e-09
Marked as misclassified No
Message-id <1246559064.13.0.109684783593.issue1393@psf.upfronthosting.co.za>
In-reply-to
Content
When trying to implement this example from 
http://djproject.cvs.sourceforge.net/*checkout*/djproject/DJNativeSwing-
SWTDemo/src/chrriis/dj/nativeswing/swtimpl/demo/examples/flashplayer/SimpleFlashExample.java?
pathrev=R-0_9_8, boiling down to:

JFlashPlayer flashPlayer = new JFlashPlayer();

in Jython 2.5.0 final:

flashPlayer = JFlashPlayer()

I'm getting this error:

$ jython jython_flash.py 
Traceback (most recent call last):
File "jython_flash.py", line 66, in <module>
app = AppGUI(title)
File "jython_flash.py", line 18, in __init__
self.create_gui()
File "jython_flash.py", line 35, in create_gui
flashPlayer = JFlashPlayer()
TypeError: _new_impl(): expected 1 args; got 0

I logged a ticket for the JFlashPlayer's library here:
http://sourceforge.net/tracker/?func=detail&aid=2809954&group_id=190690&atid=934370

But it looks like a Jython bug, because of the '_new_impl()'..

See attached sample program.
History
Date User Action Args
2009-07-02 18:24:24thijssetrecipients: + thijs
2009-07-02 18:24:24thijssetmessageid: <1246559064.13.0.109684783593.issue1393@psf.upfronthosting.co.za>
2009-07-02 18:24:23thijslinkissue1393 messages
2009-07-02 18:24:22thijscreate