package org.cristalise.gui.collection; import java.awt.GridLayout; import javax.swing.JFrame; import org.cristalise.gui.tabs.CollectionPane; import org.cristalise.kernel.collection.Aggregation; /** * @version $Revision: 1.10 $ $Date: 2003/04/06 15:06:36 $ * @author $Author: abranson $ */ public class CollectionFrame extends JFrame { private CollectionPane mCollectionPane = new CollectionPane(); public CollectionFrame() { createLayout(); } public void setAggregation(Aggregation aggregation) { mCollectionPane.add(aggregation); } private void createLayout() { getContentPane().setLayout(new GridLayout(1, 1)); getContentPane().add(mCollectionPane); setSize(1000, 1000); setVisible(true); } }