I've found this solution to change the font of the entire application, but the application has some fonts with bold and some plain (Like the ones in JTables). Using the method described there, everything becomes "plain" (In this case, "TRUETYPE"), even the menus. I want to preserve the default bolds.
public static void main(String[] args) {
setUIFont (new javax.swing.plaf.FontUIResource("VERDANA", Font.TRUETYPE_FONT, 14));
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
frame = new MainFrame();
toggleFrame(frame);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
Is there a way to change only the size, without changing the font name and style? (Turning everything bold is equally atrocious).