posted 18 years ago
Thanks. I'm not sure what the program you provided is for, a brief glance looks like it shows different LAF, that doesn't really help me but thanks anyway. I knew I could use the UIManager that way, I just don't know where the valid keys are documented. I just ended up quickly printing them out to a console by getting the Enumeration. Now I can use TextField.background and TextField.disabledBackground.
I still want to know, however, if this is a good practice? Are those keys guaranteed to be there? What happens if they're not and I end up in a LAF or system where they don't return anything, I'm going to be stuck in the same position.
Insight, anyone?