Solved

Remove Java Applet Window?

Posted on 2007-03-20
9
413 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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 Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
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 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.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now