• Post Reply Bookmark Topic Watch Topic
  • New Topic

Portability issue in Swing  RSS feed

 
Ashish Agarwal
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed an application in swings with lot of components and Text on Windows NT platform. That application has to run on various platforms including Linux.
Though the Swing components are rendering well on both platforms but the problem is with Fonts. Fonts gets change on both platforms and due to it they are not showing in Buttons etc as they should be.
How to make fonts platform independent. I'm not able to solve this problem for a long time. Please help.
TIA
Ashish Agarwal
 
Shiva Kumar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashish,
I also faced the same problem, but i solved that by changing the font properties in font.properties file in jre/lib directories, its working fine in Linux.
If you want that pls give me your mail id, i will mail you.
My ID
vsshiva@hmastarware.com
Shiva.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!