Ich möchte gern die Standard-Font wechseln. ich glaub, dass man das über den UIManager machen kann. Ich möchte die Font aber aus dem jar-Package laden, weil sie nicht auf jedem rechner vorhanden ist. wie geht das?
Fonts im System registrieren (falls Du kein Metal-L&F benutzt musst Du's selbst raussuchen): [HIGHLIGHT="Java"]System.setProperty("swing.plaf.metal.controlFont", "myFont");
System.setProperty("swing.plaf.metal.systemFont", "myFont");
System.setProperty("swing.plaf.metal.userFont", "myFont");
System.setProperty("swing.plaf.metal.controlFont", "myFont");
System.setProperty("swing.plaf.metal.controlFont", "myFont");
System.setProperty("swing.plaf.metal.smallFont" "myFont");[/HIGHLIGHT]