Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-13-2009, 02:21 AM   #1
LQ Newbie
Registered: May 2009
Posts: 1

Rep: Reputation: 0
XtWindowToWidget() function returns NULL with Sun jre1.5, working fine with java1.4

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,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems upgrading java1.4.2 to java1.5 / java5 jantman Linux - Software 2 11-20-2006 06:10 PM
setlocale() returns NULL mic Programming 2 11-08-2005 03:49 AM
Rhythmbox returns failed to activate the shell: (null) Minderbinder Linux - Software 0 06-04-2004 05:41 PM
Kmalloc returns null iannou Linux - General 0 06-28-2003 10:36 AM
Allegro create_bitmap() returns NULL tommyclee Programming 1 05-31-2002 11:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration