Solved

Remove Java Applet Window?

Posted on 2007-03-20
9
421 Views
Last Modified: 2013-11-23
How can I remove the text: Java Applet Window at the bottom of an AWT dialog?  

I have a self signed Java applet. I can write to local file with this applet.  I thought this is enough to not show this applet window text.  Unfortunately, when I open a dialog window, this window's "Java Applet Window" text does not go away.  And it is even in some system color that is different from the one I set backgrond to.

Why?
0
Comment
Question by:akoifman
[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
  • 2
  • 2
  • 2
  • +1
9 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 18762361
Can't be done
0
 
LVL 92

Expert Comment

by:objects
ID: 18762598
it shouldn't appear, what version of java are you running?
0
 

Author Comment

by:akoifman
ID: 18763044
I am using v1.5 or later.

Will the commercial certificate from a CA remove this label?
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 92

Expert Comment

by:objects
ID: 18763106
should do, do you get the text on all frames/dialogs?
0
 
LVL 9

Accepted Solution

by:
arioh earned 250 total points
ID: 18769392
you can remove "Java Applet Window" by adding the following text to .java.policy file in the user's home directory

grant codeBase "<codebase of your applet>" {
  permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
};

or you can use the "policytool" to do the same
0
 

Author Comment

by:akoifman
ID: 18770352
Hi Arioh,

Can I do this programatically?  My applet when loaded may run on LINUX or Windows.  Do I have to go user's home directory and add these lines?

Thanks.
0
 
LVL 9

Expert Comment

by:arioh
ID: 18770379
You can do it programatically only if your applet has permissions to write files on user's system.
If no - it can be done only manually.
0

Featured Post

Technology Partners: 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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

688 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