// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_Window__
#define __java_awt_Window__

#pragma interface

#include <java/awt/Container.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      class Event;
      class Component;
      class AWTEvent;
      class Cursor;
      class Toolkit;
      class Window;
      class Frame;
      class GraphicsConfiguration;
      namespace event
      {
        class WindowEvent;
        class WindowListener;
      }
    }
  }
};

class ::java::awt::Window : public ::java::awt::Container
{
public: // actually package-private
  Window ();
  Window (::java::awt::GraphicsConfiguration *);
public:
  Window (::java::awt::Frame *);
  Window (::java::awt::Window *);
  Window (::java::awt::Window *, ::java::awt::GraphicsConfiguration *);
public: // actually package-private
  virtual ::java::awt::GraphicsConfiguration *getGraphicsConfigurationImpl ();
public:  // actually protected
  virtual void finalize ();
public:
  virtual void addNotify ();
  virtual void pack ();
  virtual void show ();
  virtual void hide ();
  virtual void dispose ();
  virtual void toBack ();
  virtual void toFront ();
  virtual ::java::awt::Toolkit *getToolkit ();
  ::java::lang::String *getWarningString ();
  virtual ::java::util::Locale *getLocale ();
  virtual void setCursor (::java::awt::Cursor *);
  virtual ::java::awt::Window *getOwner ();
  virtual JArray< ::java::awt::Window *> *getOwnedWindows ();
  virtual void addWindowListener (::java::awt::event::WindowListener *);
  virtual void removeWindowListener (::java::awt::event::WindowListener *);
  virtual JArray< ::java::util::EventListener *> *getListeners (::java::lang::Class *);
public: // actually package-private
  virtual void dispatchEventImpl (::java::awt::AWTEvent *);
public:  // actually protected
  virtual void processEvent (::java::awt::AWTEvent *);
  virtual void processWindowEvent (::java::awt::event::WindowEvent *);
public:
  virtual ::java::awt::Component *getFocusOwner () { return 0; }
  virtual jboolean postEvent (::java::awt::Event *);
  virtual jboolean isShowing ();
  virtual void applyResourceBundle (::java::util::ResourceBundle *) { }
  virtual void applyResourceBundle (::java::lang::String *);
  virtual ::java::awt::GraphicsConfiguration *getGraphicsConfiguration ();
private:
  ::java::lang::String *warningString;
  jint state;
  jint windowSerializedDataVersion;
  ::java::awt::event::WindowListener *windowListener;
  ::java::awt::GraphicsConfiguration *graphicsConfiguration;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_awt_Window__ */
