?
Solved

web start applet doesnt close

Posted on 2005-05-12
4
Medium Priority
?
235 Views
Last Modified: 2008-03-06
hi
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 it..is there any option i need to set..?
0
Comment
Question by:trance12
  • 2
  • 2
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 13992409
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
0
 

Author Comment

by:trance12
ID: 13992443
thanks...but it gives me this error

appletFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

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

Accepted Solution

by:
objects earned 2000 total points
ID: 13992497
Use a JFrame instead of a Frame
0
 

Author Comment

by:trance12
ID: 13992564
of course..stupid me..thanks..:)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month16 days, 3 hours left to enroll

850 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