Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to get rid of Warning bar?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I change my project from Java application to Applet. But I found there are two problems with running Applet in browser:
1) After Applet pop up, there are a warning bar with message: "Warning: Applet Window" in the bottom of Applet Window. I am wondering if there is way to get rid of this bar?
2) Before I change to Applet, my class can talk to another program running in other computer through the socket. But after converting to Applet, my code can't talk with other code through the socket. How can I fix this problem?
Thanks for any kind of help and suggestion!
Regards,
Raymond Fei
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not avoid warnning for the dialog unless you sign your applet. Lot of posts are available regarding how to sign...
Applet can only talk with the server from which it was downloaded. You best choice would be to call servlet from the applet and servlet will do the further job
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
well u know what? even if v sign the applet then v will get "Signed Applet" message at the bottom...so v can't get rid of the message at the bottom in an applet in any way
i tried to do it once. left the approach. but it's interesting problem
regards
maulin
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raymond,
Maulin comment is only correct regarding the JVMs supported by old Netscape and IE. When you use the Sun Java 2 pluggin there is no message appearing when the applet is signed.
Regards,
Manfred.
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey thanks menfred,
i didnt know that. the problem is i have just started to gain some java exp and that too sadly began with older java (due to my company's requirements )

regards
maulin
 
A feeble attempt to tell you about our stuff that makes us money
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic