This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 246199
Collapse All | Expand All

(-)a/notifications/src/org/netbeans/modules/notifications/NotificationImpl.java (-1 / +4 lines)
Lines 60-65 Link Here
60
import javax.swing.JComponent;
60
import javax.swing.JComponent;
61
import javax.swing.JLabel;
61
import javax.swing.JLabel;
62
import javax.swing.JPanel;
62
import javax.swing.JPanel;
63
import javax.swing.UIManager;
63
import org.netbeans.modules.notifications.center.NotificationCenterManager;
64
import org.netbeans.modules.notifications.center.NotificationCenterManager;
64
import org.openide.awt.Notification;
65
import org.openide.awt.Notification;
65
import org.openide.awt.NotificationDisplayer.Category;
66
import org.openide.awt.NotificationDisplayer.Category;
Lines 255-261 Link Here
255
        btn.setContentAreaFilled(false);
256
        btn.setContentAreaFilled(false);
256
        btn.addActionListener(action);
257
        btn.addActionListener(action);
257
        btn.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
258
        btn.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
258
//        btn.setForeground(Color.blue);
259
        
260
        Color c = UIManager.getColor("nb.html.link.foreground") == null ? Color.BLUE : UIManager.getColor("nb.html.link.foreground");
261
        btn.setForeground(c);
259
        return btn;
262
        return btn;
260
    }
263
    }
261
264

Return to bug 246199