Albert Zilberman

Greenhorn
+ Follow
since Mar 21, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Albert Zilberman

Originally posted by Lynn Gonzalez:
I was able to find the following article http://java.sun.com/products/plugin/1.2/docs/jsobject.html. I'm not sure if this will help or if you have already been there.
Lynn


Thank you for your reply. But my problem with plugin version 1.1.3
19 years ago
Hello.
Java to JavaScript communication with netscape.javascript.JSObject is working fine in java plugin 1.3. How can I call javascript from Applet in Plugin 1.1.3. I tried the same way as in plugin 1.3 but without success. I tried to add jar with netscape.javascript package to archive attribute of plugin tag. Also I tried to put the jar to lib folder of the plugin. Is it possible to call JavaScript from Java in 1.1.3?
Thanks.
Albert.
19 years ago
Hello.
Java to JavaScript communication with netscape.javascript.JSObject is working fine in java plugin 1.3. How can I call javascript from Applet in Plugin 1.1.3. I tried the same way as in plugin 1.3 but without success. I tried to add jar with netscape.javascript package to archive attribute of plugin tag. Also I tried to put the jar to lib folder of the plugin. Is it possible to call JavaScript from Java in 1.1.3?
Thanks.
Albert.

[This message has been edited by Albert Zilberman (edited September 24, 2001).]
19 years ago
Hello.
Java to JavaScript communication with netscape.javascript.JSObject is working fine in java plugin 1.3. How can I call javascript from Applet in Plugin 1.1.3. I tried the same way as in plugin 1.3 but without success. I tried to add jar with netscape.javascript package to archive attribute of plugin tag. Also I tried to put the jar to lib folder of the plugin. Is it possible to call JavaScript from Java in 1.1.3?
Thanks.
Albert.

[This message has been edited by Albert Zilberman (edited September 24, 2001).]
Hello!
We have a problem with RMI Connection.
We have a RMI server that is using the factory pattern and client applets connecting to it.
When the application starts, a remote object, that is the RMI
home object ,is registered in the RMI registry.
On every client that connects to the server the home object creates another remote object that serves the client.
The clients connect to the remote home object by invoking the
method 'Naming.lookup(name)' and then invokes a remote method on that object.
After several successful connections to the server the problem starts:
the method 'Naming.lookup(name)' returns a reference to the remote home object but invoking a method on that remote reference
throws a 'ConnectionException' with the message "Connection refused to host..". from now on it is impossible to invoke remote methods on the remote objects.
We tried to connect to use telnet to connect to the port that
the RMI object is listening on but with no success.
Also we saw that the server have a listener on this port but it seems that the port disconnected
After 15 minutes the listener is available and new clients can connect and invoke methods again.
This happen with random client and we can't recreate the problem.

19 years ago
Hi All!!
I have problem in my Applet application. I need to draw image in some panel. But only half of the image is drawn. This happen only when I use Java Plugin 1.2. In IDE (in my case Visual Age 3.5) and in Java Plug in 1.1.3 it works good.
This is part of code:
public void paintComponent(java.awt.Graphics g)
{
super.paintComponent(g);
g.drawImage(img, 0, 0, this);
}
This method of class wich extends from JPanel.
img - this is an Image, which initialized before the method was called.
Thanks
19 years ago