I am using a jEditor to display html lines. An image is placed by statement like img src="images/silly.png" using HTML.
txtIntercom.setContentType("text/html");
txtIntercom.setText("<html><body>" + str + "</body></html>";
str might have like <img src="images/silly.png"> within the text.
For a brief second the broken icon appears and is then replaced by the actual graphic. I get a brief jump in the text due to the broken image being displayed and then the image is loaded.
Is there a way to change so
java does not display the broken image which is larger than the emoji and causes the bouncing or replace it with like a small black image of the same size of the emoji so the screen will not jump?