Title: Network Blitz

Hi Friends:
 
When I use MainFrame, I have to pass an object of Applet to it.  Is there any other file which has a similar function but can let the JWindow passed?  For example:
 
when I use:
        new MainFrame(new BasicRecipe(),sreenSize.width, screenSize.height-10);
the file BasicRecipe() must extend Applet.  If the file BasicRecipe() extends JWindow, MainFrame will not accept it.  I am thus wondering whether there is another file as MainFrame which accept JWindow?
 
Thank you!
 
G.B. Liu

Reply via email to