From 254ee6f47eebfc00462c10756a92066e82cc1a96 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Tue, 21 Jun 2011 15:46:02 +0200 Subject: Initial commit --- .../collection/gui/view/CollectionFrame.java | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 source/com/c2kernel/collection/gui/view/CollectionFrame.java (limited to 'source/com/c2kernel/collection/gui/view/CollectionFrame.java') diff --git a/source/com/c2kernel/collection/gui/view/CollectionFrame.java b/source/com/c2kernel/collection/gui/view/CollectionFrame.java new file mode 100755 index 0000000..2d40436 --- /dev/null +++ b/source/com/c2kernel/collection/gui/view/CollectionFrame.java @@ -0,0 +1,41 @@ +package com.c2kernel.collection.gui.view; + +import java.awt.GridLayout; + +import javax.swing.JFrame; + +import com.c2kernel.collection.Aggregation; +import com.c2kernel.gui.tabs.CollectionPane; + + +/** + * @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); + } +} -- cgit v1.2.3