Message5844
JFrame inherits from class java.awt.Frame a pair of setter and getter called setMenuBar and getMenuBar respectively. These methods return or take java.awt.Menubar.
So, when you call
self.menuBar = JMenuBar()
jython resolved it to a call of setMenuBar and hence a conversion exception.
Rename menuBar to something else will avoid the exception |
|
Date |
User |
Action |
Args |
2010-06-27 21:03:47 | akong | set | messageid: <1277672627.55.0.341173989611.issue1623@psf.upfronthosting.co.za> |
2010-06-27 21:03:47 | akong | set | recipients:
+ akong, Carolinus |
2010-06-27 21:03:47 | akong | link | issue1623 messages |
2010-06-27 21:03:46 | akong | create | |
|