🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
1 messages
1 total messages Started by beetung Tue, 06 Jul 1999 00:00
Q:Closing an "extends Frame" applet..?
#1188
Author: beetung
Date: Tue, 06 Jul 1999 00:00
42 lines
1673 bytes
Hiya people,

I have a simple question to ask.... I can close this extended
ClosableFrame when its being run by the interpreter via main().
However, its being called by an applet via init() it cannot close
properly.

Do I have to implements some methods? Heres what I ve done.


class Viewer extends Applet {

    // Starting point for JDK Java Interpreter
    public void main(Strings [] blah)    {
             CloseableFrame ws = new CloseableFrame();
             ws.show();
             Blah blah blah ;
    }


    // Starting point for Applet
    public void init()    {
             CloseableFrame ws = new CloseableFrame();
             ws.show();
             Blah blah blah ;
    }

}

As I have said earlier, I _cannot_ close the implemented CloseableFrame
when running the compiled byte code as an Applet in Netscape. However
it is possible to close the Frame in the JAVA Interpreter running via
main().


Can someone please point me to the right direction?



yours,

beetung.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads