I'm working on an IntelliJ IDEA plugin which contains JTextPane and I'm using HTML to render hyperlink alone with some other text. But in 2020.1 version when I change the theme to Dracula the rest of the text color changed to black. But for the older version, it worked fine.
IntelliJ IDEA 2020.1
IntelliJ IDEA 2019.2
JTextPane textWithHyperlink = new JTextPane();
textWithHyperlink.setPreferredSize(new Dimension(600, 50));
textWithHyperlink.setText("<html>This is sample text and <a href=\"http://www.google.com\">This is a Link</a></html>");
Please let me know what's needs to be changed?