UIManager.put("JButton.foreground", Color.RED);
.. all fine so far. But how do you know what keys (e.g. the JButton.foreground
bit) are available for a given LAF?
java -jar UIDefaults.jarYou should see some text output and a few windows may flash up for a second or so, then disappear. This is normal. A directory should be created 'output/pages' which will contain HTML files that you can peruse in a web browser (and hopefully email to me so I can expand the library).
(c) Duncan Jauncey, 2009