?
Solved

Warning: Applet Window removal.

Posted on 1998-07-08
8
Medium Priority
?
378 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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!

 

Author Comment

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

Accepted Solution

by:
drasin earned 400 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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 basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

764 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