About Look & Feel

I downloaded a Look & Feel package and added to my program. It works fine except can't support other languages. If I use other langrages in my program, the language will be shown a "rectangle". How can I make it to support other language?

Thanks.

[264 byte] By [youhaodiyia] at [2007-11-27 11:02:55]
# 1

> I downloaded a Look & Feel package and added to my

> program. It works fine except can't support other

> languages. If I use other langrages in my program,

> the language will be shown a "rectangle". How can I

> make it to support other language?

>

> Thanks.

Think about what you're asking for a moment. You have a look and feel package for your Java application. What would make you think that it would support controlling the look and feel of say C++? You will either have to find a duplicate look and feel package for the language you want to support, or you'll have to make one.

PS.

puckstopper31a at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 2

Sorry for didn't say clearly. The languages in my question mean human language, like Japnese, French etc. When I added this Look & Feel, my application can't show other languages except English

youhaodiyia at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 3

Oh ... hmmmmmm ... internationalization of a look and feel ... You might want to contact the vendor of / developer of the LookAndFeel with this topic and see what they have to say. I rather doubt that there's any way to force it from the application side.

PS.

puckstopper31a at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 4

Check out this posting:

http://forum.java.sun.com/thread.jspa?threadID=5196469

camickra at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 5

Setting the component's font can solve this problem. But I have to set every components' fonts in my application. Is there any general method to set the whole frame's font including its all sub components.

youhaodiyia at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 6

What look and feel are you using? Looks and Substance have APIs to set global font policy.

kirillga at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 7

I can't get the source code of the Look and Feel package. Can I make it without modifying the source code?

youhaodiyia at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 8

What look and feel are you using?

kirillga at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 9

> What look and feel are you using?

I don't know. I just got one from my company. I don't have the source code of it, so I don't know how it works.

youhaodiyia at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...
# 10

Set breakpoint in UIManager.setLookAndFeel method and see what value is passed to it. You have nobody in your company to ask what look-and-feel is it?

kirillga at 2007-7-29 12:46:24 > top of Java-index,Desktop,Core GUI APIs...