You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a javax.swing.border.TitledBorder, the title is unreadable because the color TitledBorder.titleColor is set to a background color. But this is the color of the text and should be set to a foreground color.
Screenshots
Expected:
The text was updated successfully, but these errors were encountered:
Is there a particular place in the UI, like somewhere in the Preferences page, where I can reproduce this?
Unfortunately, no.
IDEA uses some kind of titled separator.
But 3rd party plugins could use TitledBorder.
This issue came up when using Monokai Pro in another Swing application using FlatLaf: JFormDesigner/FlatLaf#524
Anyway, you can reproduce it in IDEA by creating a new form (New > Swing UI Designer > GUI form), select the panel and set the property "border > title" in the properties view:
Describe the bug
When using a
javax.swing.border.TitledBorder
, the title is unreadable because the colorTitledBorder.titleColor
is set to a background color. But this is the color of the text and should be set to a foreground color.Screenshots
Expected:
The text was updated successfully, but these errors were encountered: