Solved

Warning: Applet Window removal.

Posted on 1998-07-08
8
364 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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 tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

757 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

20 Experts available now in Live!

Get 1:1 Help Now