blob: 672caf95296ec0bf8b0c02f41934727c6c2e6dd1 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 | /* 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;
/* This class is complete to 1.2.  */
public class Panel extends Container
{
  public Panel()
  { 
    this (new FlowLayout ());
  }
  public Panel(LayoutManager layout)
  {
    super();
    setLayout (layout);    
  }
  //public AccessibleContext getAccessibleContext()
  public void addNotify()
  {
    if (peer == null)
      peer = getToolkit().createPanel(this);
    super.addNotify();
  }
}
 |