• Post Reply Bookmark Topic Watch Topic
  • New Topic

Why a JFrame's appearence on Windows is different from its on Linux?

 
HiBob Chu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends:
I set the bound of the JFrame by screen size.
On Windows 2000, it works right, but on Linux, the JFrame's window is bigger then screen.
And there is anthor problem about GUI: the confirm dialog's yes,no buttons cann't display
the right string "Yes""No", they appear strange
character.
I have checked the screen size which I got with my code and the setting of my display, they all right.
Who meeted such problem before? Please give me
some advise.
Regards.
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

And there is anthor problem about GUI: the confirm dialog's yes,no buttons cann't display
the right string "Yes""No", they appear strange
character.

Is it Red Hat Linux? You may not have the right font, -- here is more info.
Eugene.
 
HiBob Chu
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your help.
Regards.
HiBob Chu
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!