There's a ten-year-old Java applet I've recently been asked to fix some bugs in, and one of those only occurs when running under Microsoft's old JVM rather than Sun's. (Or, at least, it doesn't occur under any recent Sun JRE - I haven't dug out Sun Java 1.1 to try and check.)
Yes, I'm aware that Microsoft's JVM is end-of-life, and I've...
Why does this create a veritcal scrollbar in IE6, IE7 and IE8? How to avoid it?
(I had a real applet in there, but I discovered that this heavily mutilated one gave the same result and helps simplify the test case)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head...
Hi!
I would like to insert an API java into a web page.
Even with such an easy code:
applet code =
'Ejs.Simulations._apps._examples.HVmin'
archive = 'Ejs/Simulations/_apps/_examples/HVmin/hVmin.jar',
width = 300,
height = 300 />
I get this error:
cargar: clase Ejs.Simulations._apps._examples.HVmin not found.
java.lang.ClassN...
I am working on a Java applet that uses javax.sound.midi.sequencer to play a MIDI sequence. In order for this to work, the visitor needs to have a soundbank installed on his/her computer. Apparently, the Windows JRE doesn't come with a soundbank, and one has to be downloaded separately from http://java.sun.com/products/java-media/sound/...
I have a signed java applet that runs on a web page and every time it loads, it requests the following files on the host:
GET /META-INF/services/javax.xml.transform.TransformerFactory
GET /META-INF/services/com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager
The server returns a HTTP 404 for each of them and it has no impact...
Is there a way to put radio menu items in a GNOME panel applet's context menu, and then control which of the items is marked as active? The official documentation is less than helpful, and all of the applets installed on my computer use normal menu items, so I can't look at their source code for any guidance.
...
Hi,
I am trying to understand how applets work.
I understand that a class file is bytecode, something that a JVM can understand and execute. When an applet runs on the user's system, the bytecode is transferred to the user system over the network.
Now, what happens when there are more than one class files? For example, what if the cl...
I'm working on a java applet/desktop application. It runs directly on the desktop, and should also run as a jApplet in a web browser. I'm having some problems though that only occur when the program is running in a web browser. The first is I have some text box's in the application and for some reason they don't accept input. The second ...
I am using Java applet as a box for uploading files. Choosing files from file system and dragging them on applet cause adding file pathnames into the input text box.
The design is currently following: Each 'Upload' button is surrounded by an applet for the drag-n-drop, a radio box and an input box. Each radio box has its own id. The dra...
First of all I'm not a Java programmer, so maybe (hopefully :D) this problem could be very simple to solve.
I've wrote a simple applet to send file from client to a remote FTP server with a third-part library. When I run it in my eclipse applet viewer everything works correctly, but when i try it in my web browser I see a message like th...
After hours of work (I'm not a java programmer) I've managed to pack and put inside an applet wich make an ftp-upload to a remote server. The main file is "prova.class" inside "invia.jar"; I use a third-part library, placed in "edtftpj.jar". I have signed both file and included them in the page with the following code:
Index.html
<appl...
Hi
we had to run java applets on offline from a html page that was captured by google gears.
for caching applet we used cache_archive & cache_version. but it did not seem working
here i pointed out 3 traced errors:
error 1:
network: Cache entry not found [url: http: sample.net/applets/welcome.jar,
version: 1.1.3.2]
network: C...
I'll first admit that Java class loaders are a bit of a mystery to me.
What I'd like to do is define a class loader that would load any applets the browser encounters. I know I can modify the policy file to grant elevated privileges and install a custom loader inside of an applet. What I'd like to do is change the default class loader...
I don't want to register as Apple Developer and pay the Apple company before I know how to write a single line of code for iPod. How could I start writing a program for my iPod?
Is there a free way to write my own program and load it into my own iPod without paying the Apple company? It's so ridiculous that I bought my own iPod but cann...
Ok so I have this 2D Tile RPG I am making....
here is a live applet:
http://mystikrpg.com/so/
The code is also at http://mystikrpg.com/so/
Anyway, if you examine the code, it seems the I can only block tile 24 (which are the walls)...
Do any of you awesome wise java experts see any way I can have MULTIPLE tiles that are blocked?
I h...
I have an applet which you can make a player 32 pixels in any of 4 ways using WASD keys. But when I add a textarea or label, I cannot move my image anymore. Something to do with focus.
Code:
/**
Tile Generator
Programmer: Dan J.
Thanks to: g00se, pbl, Manny.
Started May 23, 2010
**/
import java.awt.*;
import java.awt.event.*;
import j...
OK so I have this applet which lets a player move his 32x32 character between tiles ... and anytime he is on the edge of the map then MOVES anywhere else... I get an ArrayIndexOutOfBounds exception. Also, when this happens, the character can walk through blocked tiles! However, this only happens on the east and south edges but on the sou...
OK so I seem to be getting an Array Index out of Bounds error in a part of my code. Specifically in lines 85-102...
My code: http://www.sosos.pastebin.com/f0JQBWui
I just want it to check for blocked tiles AHEAD of time that way my sprite doesn't move in the direction it can't. This exception only happens when I am on the RIGHT or BOTT...
OK so I have this applet I am making and I want it to generator a world according to a number...
Here it is:
public int[][] loadBoard(int map) {
if (map == 1) { int[][] board = { {
2,2,24,24,24,24,24,3,3,0,0,0,1 },
{ 2,2,24,23,23,23,24,1,3,0,0,0,1 },
{ 1,1,24,23,23,23,24,1,3,3,3,3,1 },
{ 1,1,24,24,23,24,24,1,1,1,1,3,1 },
...
I have a applet witch enables to play Hangman. Now i want to create web application with this game code. What is the easiest way to perform this action and what tools or platforms is best for this solution?
...