1 /* Copyright (C) 2000, 2002, 2003 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
12 import java
.awt
.peer
.*;
13 import java
.awt
.image
.*;
14 import gnu
.gcj
.xlib
.WMSizeHints
;
15 import gnu
.gcj
.xlib
.WindowAttributes
;
16 import gnu
.gcj
.xlib
.Display
;
17 import gnu
.gcj
.xlib
.Visual
;
18 import gnu
.gcj
.xlib
.Screen
;
20 public class XPanelPeer
extends XCanvasPeer
implements PanelPeer
23 public XPanelPeer(Panel panel
)
28 // no reason to override yet
29 //void initWindowProperties();
30 //gnu.gcj.xlib.Window getParentWindow();
33 // Implementing ContainerPeer:
35 // Default is no insets...
36 static final Insets INSETS_0_PROTOTYPE
= new Insets(0, 0, 0, 0);
38 public Insets
getInsets()
40 return (Insets
) INSETS_0_PROTOTYPE
.clone();
43 public Insets
insets()
48 public void beginValidate()
53 public void endValidate()
58 public void beginLayout () { }
59 public void endLayout () { }
60 public boolean isPaintPending () { return false; }