9d2505c115
JME-based client. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3512 542714f4-19e9-0310-aa3c-eee0fc999fb1
41 lines
904 B
Java
41 lines
904 B
Java
//
|
|
// $Id$
|
|
|
|
package com.threerings.crowd.client;
|
|
|
|
import java.awt.BorderLayout;
|
|
import javax.swing.JPanel;
|
|
|
|
import com.threerings.crowd.data.PlaceObject;
|
|
import com.threerings.crowd.util.CrowdContext;
|
|
|
|
import com.threerings.micasa.client.ChatPanel;
|
|
import com.threerings.micasa.client.OccupantList;
|
|
|
|
/**
|
|
* Displays a simple chat view.
|
|
*/
|
|
public class JabberPanel extends JPanel
|
|
implements PlaceView
|
|
{
|
|
public JabberPanel (CrowdContext ctx)
|
|
{
|
|
_ctx = ctx;
|
|
setLayout(new BorderLayout());
|
|
add(new ChatPanel(ctx), BorderLayout.CENTER);
|
|
add(new OccupantList(ctx), BorderLayout.EAST);
|
|
}
|
|
|
|
// documentation inherited from interface PlaceView
|
|
public void willEnterPlace (PlaceObject plobj)
|
|
{
|
|
}
|
|
|
|
// documentation inherited from interface PlaceView
|
|
public void didLeavePlace (PlaceObject plobj)
|
|
{
|
|
}
|
|
|
|
protected CrowdContext _ctx;
|
|
}
|