Solved

Remove Java Applet Window?

Posted on 2007-03-20
9
419 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
Independent Software Vendors: 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!

 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apache Camel - Unable to propagate JMS Header Properties between Request - Response 3 19
by zero exception 10 70
mysql jsp example issue 32 74
SequenceInputStream example 3 22
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

733 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