LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:28 AM.

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