[sip-comm-dev] Re: Re : svn commit: r5076 - trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java


#1

Hi Sympho,

Could you please note your achievement in
https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=523 which
initially reported the issue?

Thank you,
Lubo

···

On Wed, Feb 25, 2009 at 2:09 PM, sympho <sympho@ebcservice.com> wrote:

Log:
small modification to fix the join chat room wizard

attached images show the modification.

Modified:
trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java
Url:
https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java?view=diff&rev=5076&p1=trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java&p2=trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java&r1=5075&r2=5076

---
trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java (original)
+++
trunk/src/net/java/sip/communicator/impl/gui/customcontrols/LabelTableCellRenderer.java 2009-02-25
12:01:22+0000
@@ -10,6 +10,7 @@
import javax.swing.*;
import javax.swing.table.*;

+import
net.java.sip.communicator.impl.gui.main.chat.conference.*;
import net.java.sip.communicator.impl.gui.utils.*;
import net.java.sip.communicator.service.contactlist.*;
import net.java.sip.communicator.service.protocol.*;
@@ -52,7 +53,11 @@
MetaContactGroup group = (MetaContactGroup)
value;
this.setText(group.getGroupName());
}
- else {
+ else if (value instanceof ChatRoomProviderWrapper)
{
+ ChatRoomProviderWrapper provider =
(ChatRoomProviderWrapper) value;
+ this.setText(
+
provider.getProtocolProvider().getAccountID().getDisplayName());
+ } else {
this.setText(value.toString());
}

---------------------------------------------------------------------
To unsubscribe, e-mail:
commits-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:
commits-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: commits-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net