[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

How can i get same font in windows and unix?

How can i get same font in windows and unix? iam trying to get same font in both windows and unix's, But in console it is giving "Font specified in Font.Properties file is not recugnized as the same fone"
any one can help me
Regards,
Nirmala reddy
0
nirmalareddy
Asked:
nirmalareddy
  • 2
1 Solution
 
girionisCommented:
 I am not sure about the font but you could definetely get the same look and feel (and I guess this will fix the font as well) although there are serious rstrictions. I think that M$ imposed a licence that you cannot deliver an application that exhibits the Windows look and feel to non-Windows platforms, i.e. you can use Windows look and feel on Linux/Unix but you cannot distribute it.

  You can do it programmatically by using the:

UIManager.setLookAndFeel(
    "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");

  statement. For more information take a look here:

http://java.sun.com/docs/books/tutorial/uiswing/misc/plaf.html

  Hope it helps.
0
 
girionisCommented:
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to girionis

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now