JButton rendered with HTML text takes longer to load
I have a JButton that displays text rendered in HTML.
ie. JButton but1 = new JButton("<html><STYLE=\"font-family: Dialog; font-size: 12pt\"><center>Current
Date</center></STYLE></html>");
The reason for the STYLE tag is so that the font matches the rest of the application (instead of defaulting to Times New Roman).
As a result of including the HTML tags, the dialog containing the panel with my buttons takes noticeably longer to load (especially when it's my login dialog).
Does anyone know why this takes longer to render or if there is some way around it?
Interesting to note: One unexpected outcome of using the HTML tags is that it sets all my buttons to the same width (they are in a BoxLayout.Y_AXIS layout), whereas before, they refused to have their size set at all and were all different.

