diff options
author | Yana Stamcheva <yana@jitsi.org> | 2008-01-21 16:14:23 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2008-01-21 16:14:23 +0000 |
commit | d6230b577e3b7b1a2bf5d3b7f09b4a360ad3fa60 (patch) | |
tree | bd323d7f5709f07b126c7a14d534e437d937a141 /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | c310e2f702b64349043eaf7bb8c0285f64b27e09 (diff) | |
download | jitsi-d6230b577e3b7b1a2bf5d3b7f09b4a360ad3fa60.zip jitsi-d6230b577e3b7b1a2bf5d3b7f09b4a360ad3fa60.tar.gz jitsi-d6230b577e3b7b1a2bf5d3b7f09b4a360ad3fa60.tar.bz2 |
Allows to set an image background to main windows.
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 | 16 |
1 files changed, 8 insertions, 8 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 d454dec..f701528 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 @@ -54,23 +54,23 @@ public class ContactListCellRenderer extends JPanel super(new BorderLayout()); this.mainFrame = mainFrame; - this.setBackground(Color.WHITE); buttonsPanel = new JPanel(); buttonsPanel.setLayout(new GridLayout(1, 0)); - - this.buttonsPanel.setOpaque(false); + this.buttonsPanel.setName("buttonsPanel"); - this.setOpaque(true); + this.setOpaque(false); + this.nameLabel.setOpaque(false); + this.buttonsPanel.setOpaque(false); this.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); - + this.nameLabel.setIconTextGap(2); - + this.nameLabel.setPreferredSize(new Dimension(10, 17)); - - this.add(nameLabel, BorderLayout.CENTER); + + this.add(nameLabel, BorderLayout.CENTER); } /** |