/* Copyright (C) 2000 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ package java.awt; import java.awt.peer.ComponentPeer; /* An incomplete placeholder. */ public class Panel extends Container { public Panel() { this( // should be: new FlowLayout() null // FIXME ); } public Panel(LayoutManager layout) { super(); setLayout (layout); } //public AccessibleContext getAccessibleContext() public void addNotify() { if (getPeer() == null) peer = (ComponentPeer) getToolkit().createPanel(this); super.addNotify(); } }