mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37:13 -06:00
Demo: fixed foreground of "Show dialog" link label (was unreadable in dark theme)
This commit is contained in:
@@ -294,7 +294,7 @@ public class FlatOptionPaneTest
|
|||||||
private JOptionPane optionPane;
|
private JOptionPane optionPane;
|
||||||
|
|
||||||
ShowDialogLinkLabel() {
|
ShowDialogLinkLabel() {
|
||||||
setText( "<html><a href=\"#\">Show dialog</a></html>" );
|
setText( "<html><a href=\"#\" color=\"#589df6\">Show dialog</a></html>" );
|
||||||
|
|
||||||
addMouseListener( new MouseAdapter() {
|
addMouseListener( new MouseAdapter() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ class OptionPanePanel
|
|||||||
private JOptionPane optionPane;
|
private JOptionPane optionPane;
|
||||||
|
|
||||||
ShowDialogLinkLabel() {
|
ShowDialogLinkLabel() {
|
||||||
setText( "<html><a href=\"#\">Show dialog</a></html>" );
|
setText( "<html><a href=\"#\" color=\"#589df6\">Show dialog</a></html>" );
|
||||||
|
|
||||||
addMouseListener( new MouseAdapter() {
|
addMouseListener( new MouseAdapter() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user