Solved

Warning: Applet Window removal.

Posted on 1998-07-08
8
365 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
 

Author Comment

by:wbellman
ID: 1225536
Doesn't appear to.  
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java asynchronous logging 4 50
create a gui in perl 3 70
Strange loading of website behaviour 3 31
Cipher Configuration on Apache HTTPD 4 50
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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…
This video teaches viewers about errors in exception handling.

914 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

23 Experts available now in Live!

Get 1:1 Help Now