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

#ifndef __javax_swing_JDialog__
#define __javax_swing_JDialog__

#pragma interface

#include <java/awt/Dialog.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
      namespace event
      {
        class WindowEvent;
      }
      class Graphics;
      class Component;
      class Container;
      class LayoutManager;
      class Dimension;
      class Frame;
      class GraphicsConfiguration;
      class Dialog;
    }
  }
  namespace javax
  {
    namespace swing
    {
      class JDialog;
      class JLayeredPane;
      class JMenuBar;
      class JRootPane;
    }
    namespace accessibility
    {
      class AccessibleContext;
    }
  }
}

class javax::swing::JDialog : public ::java::awt::Dialog
{
public:
  JDialog ();
  JDialog (::java::awt::Dialog *);
  JDialog (::java::awt::Dialog *, jboolean);
  JDialog (::java::awt::Dialog *, ::java::lang::String *);
  JDialog (::java::awt::Dialog *, ::java::lang::String *, jboolean);
  JDialog (::java::awt::Dialog *, ::java::lang::String *, jboolean, ::java::awt::GraphicsConfiguration *);
  JDialog (::java::awt::Frame *);
  JDialog (::java::awt::Frame *, jboolean);
  JDialog (::java::awt::Frame *, ::java::lang::String *);
  JDialog (::java::awt::Frame *, ::java::lang::String *, jboolean);
  JDialog (::java::awt::Frame *, ::java::lang::String *, jboolean, ::java::awt::GraphicsConfiguration *);
public:  // actually protected
  virtual void dialogInit ();
public:
  static jboolean isDefaultLookAndFeelDecorated ();
  static void setDefaultLookAndFeelDecorated (jboolean);
  virtual ::java::awt::Dimension *getPreferredSize ();
  virtual ::javax::swing::JMenuBar *getJMenuBar ();
  virtual void setJMenuBar (::javax::swing::JMenuBar *);
  virtual void setLayout (::java::awt::LayoutManager *);
  virtual void setLayeredPane (::javax::swing::JLayeredPane *);
  virtual ::javax::swing::JLayeredPane *getLayeredPane ();
  virtual ::javax::swing::JRootPane *getRootPane ();
public:  // actually protected
  virtual void setRootPane (::javax::swing::JRootPane *);
  virtual ::javax::swing::JRootPane *createRootPane ();
public:
  virtual ::java::awt::Container *getContentPane ();
  virtual void setContentPane (::java::awt::Container *);
  virtual ::java::awt::Component *getGlassPane ();
  virtual void setGlassPane (::java::awt::Component *);
public:  // actually protected
  virtual void addImpl (::java::awt::Component *, ::java::lang::Object *, jint);
public:
  virtual void remove (::java::awt::Component *);
public:  // actually protected
  virtual jboolean isRootPaneCheckingEnabled () { return rootPaneCheckingEnabled; }
  virtual void setRootPaneCheckingEnabled (jboolean);
public:
  virtual void update (::java::awt::Graphics *);
public:  // actually protected
  virtual void processWindowEvent (::java::awt::event::WindowEvent *);
public:
  virtual void setDefaultCloseOperation (jint);
  virtual jint getDefaultCloseOperation () { return close_action; }
public:  // actually protected
  virtual ::java::lang::String *paramString ();
public:
  virtual ::javax::accessibility::AccessibleContext *getAccessibleContext ();
private:
  static const jlong serialVersionUID = -864070866424508218LL;
public:  // actually protected
  ::javax::accessibility::AccessibleContext * __attribute__((aligned(__alignof__( ::java::awt::Dialog )))) accessibleContext;
  ::javax::swing::JRootPane *rootPane;
  jboolean rootPaneCheckingEnabled;
private:
  jint close_action;
  static jboolean decorated;

  friend class javax_swing_JDialog$AccessibleJDialog;
public:

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

#endif /* __javax_swing_JDialog__ */
