I'm trying to figure out how difficult it would be to convert a Java Web Start app to an applet. Theoretically, if the application didn't do anything such as write to the file system...basically if all of it's actions should be safe within the Applet sandbox, how tricky would it be? Is it a matter of wrapping the main app inside of an ...
I'v been playing with java applets recently. In the one im writing now I have a static nested class. It works fine in the viewer, but when I compile it I get 2 class files. classname.class and classname$nestedclassname.class. I've never encountered anything like this (started java a week ago) and I don't how I would jar/sign them. Also, ...
I have a Java applet.
After user inputs data into the Java applet controls he presses button in Java applet and Java applet performs some calculating and result is a table (for simplicity table can be considered as String[][]).
I want to show new browser window and output this table in it as html <table>.
How can this be done?
Preferre...
I am just stepping into Java and need help with some basic things. I want to create an applet. Where should I start?
...
I'm developing a Java Applet, and reducing the size of the binary code will make the applet open faster and will improve the user experience.
Is there anything I can do to reduce the size of classes and / or jar files? I want to be sure I'm not missing obvious tricks.
I know that in the C++ world compiler options for e.g. stripping deb...
I wrote a java applet and self signed it. When I run it in eclipse or as a executable jar it works fine. But when I upload it, it doesn't do anything. It loads, and the self signed cert warning does come up and I click yes but nothing. I was under the impression that signed applets had no restrictions. What could be the problem?
...
When building a Java Applet are there any steps that can be made to prevent a user invoking internal methods?
Theoretically most objects can be analysed and methods can be invoked on a client machine.
In addition to obfuscation are there any other steps that can help prevent this?
My situation is to secure a game where the top score i...
While testing our setup for user acceptance testing, we got some reports that java applets in our web application would occasionally fail to load. The envt where it was reported was WinXP/IE6, and there were no errors found in the java console.
Obviously we'd like to avoid it. What sort of things should we be checking for here? On our l...
There's getParameter() which is fine for reading a parameter I know of.
However, should I want (for lib architecture reasons) to read all the parameters that have been passed to an applet, is there a way to do it?
I've looked at the API and googled a bit, but no luck.
...
Just wondering if anyone has had any experience with installing hardware drivers via a Java Applet. I'm currently writing an applet that will be accessing some hardware and will be embedded into a web page. In order to make things easier for end users I would like to have it detect if the drivers are installed and if not install them.
...
I'm planning to develop an applet-based application that will be used by "average Jill" non-technical users (classical musicians, to be precise). What version of Java can I realistically expect those users to have installed in their browsers? Is 1.5 safe? I know Microsoft hasn't bundled Java with Windows in years, but do most OEM Windows...
Hello There,
I have been developing a test framework for a particular client/server product (COTS) that exposes XML requests & responses via a raw ip socket.
I have been able to develop my test framework in a PHP application with good results, but my desire is to make the test framework easily portable. Sure a VMWare image is portab...
I am trying to put two applets which share same code base but initialized with different paramaters in same web page.
process goes like this:
applet.jar->create two applet tags, with different parameters, same jar in a page->deploy to server->access the page.
HTML looks like this:
<HTML>
<HEAD>
<TITLE>Java applet example - Passing a...
How should I create & run unit-tests for a Java/Tomcat Servlet-Applet application?
...
I have an applet that is crashing Firefox on Linux.
Can anyone tell me how I can enable the java core dump log file for this applet and where the file would be generated?
...
I made a weird applet which allows you to paint with your voice. Obviously it requires access to the microphone, but Java applets are not allowed access unless they are signed. As far as I can tell its difficult and involves cryptography, and, though its not clear, I think that I'm expected to pay MONEY to Verisign as well. This all seem...
Hello all, I'm working with java images for the first time and having a problem viewing them when the applet loads. The code I've posted below is a dramatically pared-down version of the code I'm actually working with, hopefully figuring out why I can't see an image with this code will show me while I have to resize the window to see ima...
I'm trying to code an applet and put it in my website. I remember doing this a long time ago using Borland back when 1.4 was the latest version. It of course used the applet tag (which I'm using currently) and it had no issues. But anyways, I put the class files in httpdocs/ under its own directory, and then used this code in the web ...
I have a web page with an applet that opens a popup window and also makes Javascript calls. When that Javascript call results in a focus() call on an HTML input, that causes the browser window to push itself in front of the applet window. But only on certain browsers, namely MSIE. On Firefox the applet window remains on top. How can I ke...
I would like to specify html for my applet and debug it in NetBeans.
The helpful is following:
My applet class is MainApplet.
I put MainClass.html in the same folder with MainApplet.java.
After this I run applet via right click on file in NetBeans and selecting Debug "MainApplet.java".
It looks like applet tag from MainApplet.html is us...