Solved

Warning: Applet Window removal.

Posted on 1998-07-08
8
374 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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 

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

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!

Question has a verified solution.

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

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 …
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.

718 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