Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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
 
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic