* hard-code highlight colors

This commit is contained in:
Reinhard Pointner 2012-10-08 12:42:23 +00:00
parent a8bec2fb09
commit bf6cccfbbb
1 changed files with 12 additions and 14 deletions

View File

@ -5,7 +5,6 @@ package net.sourceforge.tuned.ui;
import java.awt.Color; import java.awt.Color;
import java.awt.Cursor; import java.awt.Cursor;
import java.awt.Desktop; import java.awt.Desktop;
import java.awt.SystemColor;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.MouseAdapter; import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;
@ -23,7 +22,7 @@ import javax.swing.JButton;
public class LinkButton extends JButton { public class LinkButton extends JButton {
private Color color = getForeground(); private Color color = getForeground();
private Color rolloverColor = SystemColor.textHighlight; private Color rolloverColor = new Color(0x3399FF);
public LinkButton(String text, Icon icon, URI uri) { public LinkButton(String text, Icon icon, URI uri) {
@ -81,7 +80,6 @@ public class LinkButton extends JButton {
this.rolloverColor = rolloverColor; this.rolloverColor = rolloverColor;
} }
protected final MouseListener rolloverListener = new MouseAdapter() { protected final MouseListener rolloverListener = new MouseAdapter() {
@Override @Override