web start applet doesnt close

Posted on 2005-05-12
Last Modified: 2008-03-06
I cant seem to close my web start applet..the x buttton nor the dropdown close option closes the applet..i have to go into task manager everytime to close there any option i need to set..?
Question by:trance12
    LVL 92

    Expert Comment


    Author Comment

    thanks...but it gives me this error

    appletFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); [49:1] cannot resolve symbol
    symbol  : method setDefaultCloseOperation (int)
    location: class java.awt.Frame
    1 error
    Errors compiling CRMLoginApplet.
    LVL 92

    Accepted Solution

    Use a JFrame instead of a Frame

    Author Comment

    of course..stupid me..thanks..:)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
    Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now