FileDocCategorySizeDatePackage
EastPanel.javaAPI DocExample1500Sat Sep 12 03:01:00 BST 1998borland.samples.apps.chess.client

EastPanel

public class EastPanel extends Panel

Fields Summary
Component
sibling
Constructors Summary
public EastPanel()


  
public EastPanel(Component c)

    sibling = c;
  
Methods Summary
public java.awt.DimensiongetPreferredSize()

    int siblingHeight = 280;
    if (sibling != null)
      siblingHeight = sibling.getPreferredSize().height;
    //System.out.println("east Panel prefered size = 280," +( siblingHeight + 60));
    return new Dimension(280, siblingHeight + 60);
  
public voidsetSibling(java.awt.Component sibling)

    this.sibling = sibling;