Solved

Warning: Applet Window removal.

Posted on 1998-07-08
8
371 Views
Last Modified: 2010-03-30
How do I remove the "Warning: Applet Window" from a Window spawned by an Applet?  I am building a pop-up menu tool, and the Applet Window Warning is really annoying and ugly!
0
Comment
Question by:wbellman
  • 4
  • 2
  • 2
8 Comments
 
LVL 2

Expert Comment

by:aziz061097
ID: 1225533
One choice would be to have the classes in your local CLASSPATH . If the applet is loading classes over the webserver I think the applet considers a security risk and put out that warning. If the classes are coming from a local source then this warning does not come up. Try this and let me know if this works for you.
0
 

Author Comment

by:wbellman
ID: 1225534
I am developing this applet for a product and would really like it to work through the web server.  Thanks for the input though. : )
0
 
LVL 2

Expert Comment

by:aziz061097
ID: 1225535
Does it show the warning if you have the classes locally? I am asking this just for curiosity. I will try to find out if there is any other solution.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:wbellman
ID: 1225536
Doesn't appear to.  
0
 

Accepted Solution

by:
drasin earned 100 total points
ID: 1225537
My company had this same problem.  The _only_ ways (Of this I am absolutely positive) to display the external window w/o the applet window  warning are: to install the classes locally (like Wbellman said), or to use a signed archive to store the classes.  You can obtain a digital signature, such as from www.verisign.com, and making a signed cab (for IE users) and a signed jar file with this digital signature(which is $20/yr for an individual each for the MS and Netscape ones).  When someone loads the applet, a dialog will appear indicating that the applet is asking for additional permissions to those typically granted to an applet.  If you go to
www.verisign.com/developers/info.html
you will find the info on how to sign these files.  If you need more help than this, contact me by email-it's actually kind of a pain in the ass.  Also note that the signed cab will not be recognised as such by IE for the Mac.
In sum, if you can live with the applet warnings, that is probably the easiest thing to do.  If you are determined to get rid of them, you need to get a digital signature and the signing tools.
Sorry to give you this news, but you search in vain for another way.  Mark my words.  We hate it too at my company.

***********************************************************************
*****        Benjamin Drasin
***** ----------------------------------------
*****        drasin@mindspring.com
*****        http://www.geocities.com/ResearchTriangle/9605/
***********************************************************************

0
 

Author Comment

by:wbellman
ID: 1225538
Even though it's not the answer I wanted to hear it's pretty much what we figured over here.  Digital signing isn't going to happen.  I've already got a work around using dynamic HTML and a little Javascript (ugh!) but of course that is supported by only the 4.0 browsers.  The Java Applet was an attempt to include every one...  oh well...

Thanks for your prompt response, Benjamin.
0
 

Expert Comment

by:drasin
ID: 1225539
I've seen some pretty ugly hacks to try to do this w/o signing.  One of our developers actually hacked a scrollbox to appear under where the menu was, and dynamically relocated all the wigets (in other words, do a drop-down menu w/o an external window.)  It ended up being functional, but it was even uglier then the applet warning.  I understand the need for security, but there this one seems a bit harsh.
0
 

Author Comment

by:wbellman
ID: 1225540
I completely agree.  I mean really what's the worst you can do? At worst you could pop-up a window that *looked* like an Explorer exception or what have you, but really... Oh well, maybe they'll lighten up in the next couple JDK's...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
session migration servlets 2 42
ejb stateless example 2 21
How do I remove an object from a 3 40
hashmap order 17 36
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

856 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