package secondswing;

/**
 * Title:
 * Description:
 * Copyright:    Copyright (c) 2002
 * Company:
 * @author Burton Rosenberg
 * @version 9 April 2002 [creation date: 9 April 2002]
 */

import javax.swing.* ;
import java.awt.* ;

class MyView extends JPanel {

  // builds a button panel and a drawing panel and
  // lays them out inside the view panel

  MyView ( MyController mc, int [] geometry  ) {
     setLayout(new BorderLayout()) ;
     add(new MyPicturePanel(mc,geometry),BorderLayout.CENTER) ;
     add(new MyButtonPanel(mc), BorderLayout.NORTH) ;
  }

}
