Solved

Remove Java Applet Window?

Posted on 2007-03-20
9
418 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
  • 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 59
eclipse shortcuts 9 63
hibernate insert example 13 34
Eclipse Java import and method not resolved 4 50
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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 …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

831 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