#include <xheaders.h>
#include XApplication_i
#include XFrameWindow_i
#include XJavaEnvironment_i
#include XJavaApplet_i
#include XResourceLibrary_i
#include XResource_i
#include XJavaShowURLHandler_i
#include "resource.h"



// Main frame window
class MyWindow : public XFrameWindow
{
        private:
                XJavaApplet* pApplet;
        public:
                // ctor/dtor
                         MyWindow( XResource* );
                virtual ~MyWindow()  {}
};


// Application/Java Environment class
class MyApp : public XApplication
{
        private:
                MyWindow*         pMyWin;
                XJavaEnvironment* pJavaEnv;

        public:
                // ctor/dtor
                         MyApp( void );
                virtual ~MyApp();
};

