× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: frame question
  • From: Marshall Dunbar <marshall@xxxxxxxxxxx>
  • Date: Wed, 12 Nov 1997 08:29:25 -0500
  • Organization: DPS, Inc.

Your applet class, cannot contain a frame, but you can create another 
class that inherits from java.awt.Frame and use that in your applet 
class.  The applet class would do a

        FrameClass a=new FrameClass();
        a.show();

If you want the Frame window to pop up immediately when the user 
navigates to your applet page, put the above code in the applet's 
start() method.  You should also put an a.dispose() in the applet's 
stop() method, otherwise the Frame window will hang around even if the 
user navigates away from your applet page!

------------
Marshall Dunbar
DPS, Inc.
marshall@dpslink.com
http://www.dpslink.com



On Tuesday, November 11, 1997 5:55 PM, Gary Feinstein 
[SMTP:gfeinste@planethollywood.com] wrote:
> Ok you guys...I guess we have been pretty quiet.  I will try to make
> some noise or at least stir things up a bit.  I have a question
> regarding the IBM Visual Age for Java.  I am just playing around with
> the visual editor and do not have the documentation yet.  Basically,
> I
> have an applet that I am trying to create and would like it to appear
> on
> a form.  If I put a form on the environment window and build my
> objects
> on it, they don't show up in the applet viewer.  However, if I take
> the
> frame (menu) out, it works fine.  Am I doing something wrong?  Or am
> I
> just missing the point of the menu window altogether.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "JAVA400-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe JAVA400-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.