1

Is it possible to update for example all JTextField components in existing application to show rendered text (or not rendered) while setting and later changing system properties? All JTextField components are initiated just once.

System properties are set like that:

System.setProperty("awt.useSystemAAFontSettings", "on");
//Now we need to change system property
System.setProperty("awt.useSystemAAFontSettings", "off");
//After repaint(); - no changes (it takes effect if application is restarted only)
Ernestas Gruodis
  • 8,567
  • 14
  • 55
  • 117

0 Answers0