diff options
author | Yana Stamcheva <yana@jitsi.org> | 2006-12-06 16:35:02 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2006-12-06 16:35:02 +0000 |
commit | 48c5824e7f265058d7624b50e20b4ee8ce6ec886 (patch) | |
tree | b23547cbb4562e9cdbe79d01eab7c2bdc6d634ca /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | 0105bec7167c402cfd6c8688a7fbe81a636b95ca (diff) | |
download | jitsi-48c5824e7f265058d7624b50e20b4ee8ce6ec886.zip jitsi-48c5824e7f265058d7624b50e20b4ee8ce6ec886.tar.gz jitsi-48c5824e7f265058d7624b50e20b4ee8ce6ec886.tar.bz2 |
account index starts from 2
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.java | 6 |
1 files changed, 2 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 3a5bfb2..ae16c8d 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 @@ -7,13 +7,11 @@ package net.java.sip.communicator.impl.gui.main.contactlist; -import java.util.*; - import java.awt.*; import java.awt.image.*; +import java.util.*; import javax.swing.*; -import javax.swing.text.html.*; import net.java.sip.communicator.impl.gui.customcontrols.*; import net.java.sip.communicator.impl.gui.main.*; @@ -237,7 +235,7 @@ public class ContactListCellRenderer extends JPanel g.setFont(Constants.FONT.deriveFont(Font.BOLD, 9)); g.drawImage(sourceImage, 0, 0, null); g.setComposite(ac); - g.drawString(new Integer(index).toString(), 14, 8); + g.drawString(new Integer(index+1).toString(), 14, 8); return buffImage; } |