XtWindowToWidget() function returns NULL with Sun jre1.5, working fine with java1.4
Hi,
I am running a java AWT application using Sun JRE1.5 which has combolist box as one of the control. When i call the XtToolkit API XtWindowToWidget() by passing the window handle for this combolistbox along with the display pointer, i am getting a return value of NULL instead of the widget instance.
But the same case works when i run the same application using Sun JRE1.4, wherein I am getting a proper widget instance.
Can someone please provide any suggestions as to how to get this problem resolved?
Thanks in advance,
-Prash
|