简体   繁体   中英

Extensive L&F modification

I want to use multiple L&Fs in my application, but that makes translating my application very complicated, due to differences between various L&Fs...

So I thought to myself, why don't I download L&F I want to use and then edit them in a way they all have, eg same key for same component name parts, making translating it during runtime far more simple...

It'd like to use, for one, Nimbus L&F, but I don't know where to find the it's source code (or files) that I can edit...

I know it's included in newest Java (which I have, both JRE and SDK), but I just don't know where to find it... Google just keeps showing pages on how to set it...

Well the complete source for the JDK is at the path:

C:\\Program Files\\Java\\jdk1.7.0_06\\src.zip

and within that zip the path to nimbus source is:

C:\\Program Files\\Java\\jdk1.7.0_06\\src.zip\\javax\\swing\\plaf\\nimbus\\

Of course this is windows only, but *mix systems shouldnt differ in this respective apart from replacing C:\\Program Files\\ with the appropriate corresponding one

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM