Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    1

    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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    You need to go to the Sun/Java web site and read the documentation on migration from JRE 1.4 to 1.5 and later, especially with regard to AWT issues.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...