Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get rid of Warning bar?

 
Raymond Fei
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
 
Rakesh Ray
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
 
Maulin Vasavada
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
 
Manfred Leonhardt
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic