mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 13:09:37 +08:00
be36b6d0dd
From-SVN: r38367
40 lines
710 B
Java
40 lines
710 B
Java
/* 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 (peer == null)
|
|
peer = getToolkit().createPanel(this);
|
|
super.addNotify();
|
|
}
|
|
}
|