List of Java Swing UI properties? [closed]

I found the official list of resource keys used in the Nimbus Look and feel: http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/_nimbusDefaults.html And the official component properties: http://docs.oracle.com/javase/8/docs/api/javax/swing/plaf/synth/doc-files/componentProperties.html And here is another exhausting list (not Nimbus related). This is the source. AbstractButton.clickText AbstractDocument.additionText AbstractDocument.deletionText AbstractDocument.redoText AbstractDocument.styleChangeText AbstractDocument.undoText AbstractUndoableEdit.redoText AbstractUndoableEdit.undoText AuditoryCues.allAuditoryCues AuditoryCues.cueList AuditoryCues.noAuditoryCues Button.background Button.border Button.darkShadow Button.defaultButtonFollowsFocus Button.disabledText Button.focusInputMap Button.font Button.foreground Button.highlight … Read more

Setting the Default Font of Swing Program

try: public static void setUIFont (javax.swing.plaf.FontUIResource f){ java.util.Enumeration keys = UIManager.getDefaults().keys(); while (keys.hasMoreElements()) { Object key = keys.nextElement(); Object value = UIManager.get (key); if (value instanceof javax.swing.plaf.FontUIResource) UIManager.put (key, f); } } Call by … setUIFont (new javax.swing.plaf.FontUIResource(“Serif”,Font.ITALIC,12));