• Post Reply Bookmark Topic Watch Topic
  • New Topic

in jdialog when we pass null it is showing some garbage in titlebar in linux??

 
umesh kacha
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sir,

I am getting problem with my product which is using JDialog under linux.It is working properly in windows and solaris.When we pass null in title of JDialog in linux at run time it is showing <2> in title bar of JDialog but it is not showing anything in windows or solaris.

I am fresher and I dont know in detail this type of problem but I think it is problem of null value.value of null is different in linux as compared to windows.

I am also getting some other problem with JDialog that in linux message is not displayed properly in jdialog and it is working fine in windows.

So please help me what to do?


guide me where the problem is??
 
Campbell Ritchie
Marshal
Posts: 52580
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried it and it worked correctly on Linux. Please post the code you can't get to work.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What window manager are you using? KDE will put a number on frames that have the same name so you can tell them apart:


The fix is easy enough: give your main frame and dialogs different names.
[ March 24, 2008: Message edited by: Joe Ess ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!