Ugly fonts in Java applications under Debian Buster?

I expired ugly font rendering in Java applications after I've upgraded to Debian Testing (Buster).

I was able to work around this by enabling anti-aliasing:

-Dawt.useSystemAAFontSettings=s