• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to get rid of Warning bar?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic