text: 
  // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  
  #ifndef __javax_swing_JColorChooser__
  #define __javax_swing_JColorChooser__
  
  #pragma interface
  
  #include <javax/swing/JComponent.h>
  #include <gcj/array.h>
  
  extern "Java"
  {
    namespace java
    {
      namespace awt
      {
          class Color;
          class Component;
        namespace event
        {
            class ActionListener;
        }
      }
    }
    namespace javax
    {
      namespace accessibility
      {
          class AccessibleContext;
      }
      namespace swing
      {
          class JColorChooser;
          class JComponent;
          class JDialog;
        namespace colorchooser
        {
            class AbstractColorChooserPanel;
            class ColorSelectionModel;
        }
        namespace plaf
        {
            class ColorChooserUI;
        }
      }
    }
  }
  
  class javax::swing::JColorChooser : public ::javax::swing::JComponent
  {
  
  public:
    JColorChooser();
    JColorChooser(::java::awt::Color *);
    JColorChooser(::javax::swing::colorchooser::ColorSelectionModel *);
    virtual void setColor(::java::awt::Color *);
    virtual void setColor(jint, jint, jint);
    virtual void setColor(jint);
    static ::java::awt::Color * showDialog(::java::awt::Component *, ::java::lang::String *, ::java::awt::Color *);
  public: // actually package-private
    static void makeModal(::javax::swing::JDialog *);
  private:
    static ::java::awt::Component * findParent(::java::awt::Component *);
  public:
    static ::javax::swing::JDialog * createDialog(::java::awt::Component *, ::java::lang::String *, jboolean, ::javax::swing::JColorChooser *, ::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
    virtual ::javax::swing::plaf::ColorChooserUI * getUI();
    virtual void setUI(::javax::swing::plaf::ColorChooserUI *);
    virtual void updateUI();
    virtual ::java::lang::String * getUIClassID();
    virtual ::java::awt::Color * getColor();
    virtual void setPreviewPanel(::javax::swing::JComponent *);
    virtual ::javax::swing::JComponent * getPreviewPanel();
    virtual void addChooserPanel(::javax::swing::colorchooser::AbstractColorChooserPanel *);
    virtual ::javax::swing::colorchooser::AbstractColorChooserPanel * removeChooserPanel(::javax::swing::colorchooser::AbstractColorChooserPanel *);
    virtual void setChooserPanels(JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > *);
    virtual JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > * getChooserPanels();
    virtual ::javax::swing::colorchooser::ColorSelectionModel * getSelectionModel();
    virtual void setSelectionModel(::javax::swing::colorchooser::ColorSelectionModel *);
    virtual jboolean getDragEnabled();
    virtual void setDragEnabled(jboolean);
  public: // actually protected
    virtual ::java::lang::String * paramString();
  public:
    virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  private:
    static const jlong serialVersionUID = 9168066781620640889LL;
    ::javax::swing::colorchooser::ColorSelectionModel * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) selectionModel;
    ::javax::swing::JComponent * previewPanel;
    JArray< ::javax::swing::colorchooser::AbstractColorChooserPanel * > * chooserPanels;
    jboolean dragEnabled;
  public:
    static ::java::lang::String * SELECTION_MODEL_PROPERTY;
    static ::java::lang::String * PREVIEW_PANEL_PROPERTY;
    static ::java::lang::String * CHOOSER_PANELS_PROPERTY;
  public: // actually protected
    ::javax::accessibility::AccessibleContext * accessibleContext;
  public:
    static ::java::lang::Class class$;
  };
  
  #endif // __javax_swing_JColorChooser__
  