FSF GCC merge 02/23/03
[official-gcc.git] / libjava / gnu / awt / gtk / GtkFramePeer.java
blob83ff613fde86101b13f976c7c97e8e6004889f68
1 /* GtkFramePeer.java -- Implements FramePeer with GTK
2 Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
4 This file is part of the peer AWT libraries of GNU Classpath.
6 This library is free software; you can redistribute it and/or modify
7 it under the terms of the GNU Library General Public License as published
8 by the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later verion.
11 This library is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this library; if not, write to the Free Software Foundation
18 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA. */
21 package gnu.awt.gtk;
23 import java.awt.*;
24 import java.awt.event.*;
25 import java.awt.peer.FramePeer;
27 public class GtkFramePeer extends GtkWindowPeer
28 implements FramePeer
30 protected GtkFramePeer (Frame awtFrame)
32 super (awtFrame);
33 //init ();
36 public native void setIconImage(Image image);
37 public native void setMenuBar(MenuBar mb);
38 public native void setResizable(boolean resizable);
39 public native void setTitle(String title);
41 protected native void create();