aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2008-01-15 00:14:22 +0000
committerYana Stamcheva <yana@jitsi.org>2008-01-15 00:14:22 +0000
commit11f66d5a35f185ce427dc89324c7f01cc33ba691 (patch)
treee666db5e2c4c6da02c3cb08a2ed1de06962e046d /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java
parent4f06cae3af9952f48a208433721e88af124078f6 (diff)
downloadjitsi-11f66d5a35f185ce427dc89324c7f01cc33ba691.zip
jitsi-11f66d5a35f185ce427dc89324c7f01cc33ba691.tar.gz
jitsi-11f66d5a35f185ce427dc89324c7f01cc33ba691.tar.bz2
All Look & feel and GUI color constants are now moved to a properties file in resources folder.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java')
-rw-r--r--src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java
index aa47bd8..d454dec 100644
--- a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java
+++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java
@@ -257,10 +257,10 @@ public class ContactListCellRenderer extends JPanel
if (!this.isLeaf) {
GradientPaint p = new GradientPaint(0, 0,
- Constants.SELECTED_END_COLOR,
+ Constants.SELECTED_COLOR,
this.getWidth(),
this.getHeight(),
- Constants.MOVER_END_COLOR);
+ Constants.GRADIENT_LIGHT_COLOR);
g2.setPaint(p);
g2.fillRoundRect(1, 1, this.getWidth(), this.getHeight() - 1, 7, 7);
@@ -268,10 +268,10 @@ public class ContactListCellRenderer extends JPanel
if (this.isSelected) {
- g2.setColor(Constants.SELECTED_END_COLOR);
+ g2.setColor(Constants.SELECTED_COLOR);
g2.fillRoundRect(1, 0, this.getWidth(), this.getHeight(), 7, 7);
- g2.setColor(Constants.BLUE_GRAY_BORDER_DARKER_COLOR);
+ g2.setColor(Constants.LIST_SELECTION_BORDER_COLOR);
g2.setStroke(new BasicStroke(1.5f));
g2.drawRoundRect(1, 0, this.getWidth() - 1, this.getHeight() - 1,
7, 7);