I just installed the LoveSan security patch from MSFT and turned on
Auto-Update. Now applets do not load. I tried getting Netscape 7.1 but
it directs me to the Sun page to install JRE. I do this but still
neither IE or NS will load applets. Tried downloading some from
various websites with free applets but these do not work either. Any
ideas?
How do I display a message applet is loading when a applet is getting loaded. Without using Mediatracker.I want the message to be provided as PARAM NAME.
We have an app that uses a page to either load a full page applet, or some html based on some params.
There are events trapped for rigth click actions that show a DIV with some menu options. Works fine with the HTML...
But, of course, by default the Applet seems to take precedence over any DIV etc on top.
I already feed the events back from the applet back through to the HTML via javascript, what I need to do is display the div over the applet so that thet user knows no different...
I have on a html page an applet. A javascript function call one function of this applet. It works with IE but not with Mozilla or Netscape. I obtain the following error on the java-plugin consol:
sun.plugin.liveconnect.OriginNotAllowedException: Javascript is not form the same origin as je java code ...
This is my html code:
<script language="Javascript"> <!-- function askServerCmd() { return document.AppReaderLink.askServerCmd();
I wish to get the pixels os an image to transform it. There is any posibility to do this with javascript ? I have done with java, but I can't load web images from other http servers, can I send the data of the image to the applet ?
How can I inform a Javascipt, that must submit my Applet's data, that this same Applet has produced the data in question? Or in other words, is there any way to call a JavaScript junction within the Applet? Is it the best way? What do you suggest?
Does anyone know how to use a prompt on java applet?
I was to create a very simple calculator. Two prompts will appear asking for inputs. Then the sum, product, difference, and quotient will appear on java applet.
We have an applet that has to support the SUN VMs as well as the MS VM. The applet receives updates from a server (via tcp or http) and wraps them up as objects and passes them using the JSObject scripting context to a javascript function.
This function takes the object and reads the properties and updates a screen.
All seems simple stuff. The problem is that the MS JVM runs like a rocket, but the sun vm seems to max out our processor and also takes ages to process anything.
I have tried logging from the console using debug level 5, and it shows a lot of back and forth between the applet and the javascript when accessing methods on the object passed.
Seeing that as a possible problem, I now pass a delimited string to the front end, and then convert that into an update message purely in javascript so there is only one hit to the applet per message.
I am still seeing a massive difference between the sun and ms VMs.
Has anyone ever come across this, and is there anything I can do to help flatten out this performance?
I am attempting to develop a completely web-based set of tools that can match the functionality of a set of Tcl/Tk programs that are used in our control system environment. I believe that I can do everything that the Tcl/Tk tools are doing except this one thing:
The Tcl/Tk app allows the user to pick two points on their screen (which defines a rectangle) and then automatically grabs that potion of the screen as an image and embeds it into the Tcl/Tk app as an object which is then uploaded to a database when the user has submitted the Tcl/Tk form.
I would like to have a web-page with a form that allows file-uploads (this I can do), but I would like the page to include an embedded Java applet (presumably) that allows the web-client to capture a portion of the screen and automatically attach it to the html form which can then be uploaded to a database when the client submits the form.
An important requirement of this project is that it not require the user to install anything prior to visiting the web-page. The applet (or whatever) can be installed but not a separate program. I really want this entire function to be provided from the web-page. I can provide more information if necessary, but I though that a broad statement of the problem would allow more people to chime-in with their thoughts. I am eager to find out how this might be possible.
I am attempting to develop a completely web-based set of tools that can
match the functionality of a set of Tcl/Tk programs that are used in our control system environment. I believe that I can do everything that
the Tcl/Tk tools are doing except this one thing:
The Tcl/Tk app allows the user to pick two points on their screen (which defines a rectangle) and then automatically grabs that potion of
the screen as an image and embeds it into the Tcl/Tk app as an object which is then uploaded to a database when the user has submitted the Tcl/Tk form.
I would like to have a web-page with a form that allows file-uploads (this I can do), but I would like the page to include an embedded Java applet (presumably) that allows the web-client to capture a portion of the screen and automatically attach it to the html form which can then be uploaded to a database when the client submits the form.
An important requirement of this project is that it not require the user to install anything prior to visiting the web-page. The applet (or
whatever) can be installed but not a separate program. I really want this entire function to be provided from the web-page. I can provide more information if necessary, but I though that a broad statement of the problem would allow more people to chime-in with their thoughts. I am eager to find out how this might be possible.
I'm doing an intranet with a media part. So im must be able to upload files on a ftp server AND have a record of informations about this file and meta date in a MySQL database, shown in a php page.
So the first thing i was doing was:
1/ * A HTML Form, with a <input type="file"> which was uploading the file to the web server. And then, in the next action-php-page, using ftp functions from php to upload to the ftp server. But this make upload the file 2 times, which slow, and the user can't do anythig except waiting in front of a blanck loading page.
=> no way
(BTW, the site admin refuse that the ftp server and the web server to be the same computer)
So i tried something else:
2/ * A HTML form, the user enter meta data about the media, click next, and then, a php page which loads a java applet an pass informations to it (by param tags). The applet have a browse button, and a go button, which start the transfert (JDK 1.4.1) trough the URLConnection. The file is uploaded once, and there is a progress bar, which is wonderful.
But now, i need the src_file information wich is the java applet. So i have two options:
A/ I make a post to the webserver from the applet. But i'm using session identification (needed for tracing users actions) and i'm gonna use SSL in less than one month, so i think it would be complicated.
B/ I export the information from the java applet to javascript, and then to HTML hidden field, so that the user can submit the full-hidden-filled form. But i can't make LiveConnect works.
i'm under Mac OS X 10.2 (jaguar) so i need to make work LiveConnect on both Safari 1.0 (v85.6), mozilla 1.5, and Mac OS IE (5.2).
My first question folks. I have recently joined a web based video conference which allow people to join as a guest (no need to create account). This conference's interface and function is written in javascript as an applet.
To cut the long story short, is it possible to capture this applet and see the conference (without having to join the conference)? What happen at the moment is people wont be able to see the conference without join in and therefore take one slot out of 7 seats if you like. When all slots are taken people can not see the event. I was wondering if there is a way to capture this event using other javascript.
I have all the scripts required to make this conference running, i know the logic of how javascript works but i dont know what is what in detail.
Does anyone know how you can test if an applet's method exists before you try and call it?
for example, if you don't have a JRE installed on your computer and try and access an applet method it shoots out a javascript error at you. I want to be able to test if the applet is operational basically before I try and use any of its methods.
I call methods in a Java applet with javascript code like this:
document.myApplet.methodName(); This works great when the applet has loaded (the JVM has started and dowloaded all the jars) but it fails if the applet hasn't loaded yet, at which point it gives an error: Quote:
Error: Object doesn't support this property or method
Is there a way to determine that the applet is loaded or not so that I can use it in an if statement? For instance, like so: Code: if (isAppletLoaded()) { document.myApplet.methodName(); } I tried Code: document.myApplet == null but that didn't work.
I recently "inherited" a project which involves an applet on a web page, and some Javascript event handling functions. The handler definition looks like this:
where Foo is an applet with parameter FiresScriptEvents set to TRUE. The function Foo_mouseReleased() is a simple javascript function that just alerts a fixed message so I know it's been called.
When I run this applet in a vanilla IE5.5 or IE6, it does exactly what I expect - when the mouse is released, up pops my alert. BUT when I run it on the same browser with Java Plug-In 1.4.2 installed, I don't see it. Is there some compatibility issue with 1.4.x? Can the code be changed relatively simply to work with both VMs, or am I looking at a big rebuild to support browsers both with and without the plug-in?
We have a page that combines HTML with a Java applet. The applet has a big rectangle in the middle of the page. Above the applet we have some dropdown menus that are in HTML (and JavaScript and CSS). We would like to make it so the dropdowns can temporarily be visible on top of the applet, and it doesn't seem to work. The applet seems to completely own its rectangle, and nothing with CSS or Z ordering seems to work to draw temporarily on top of the applet.
Does anybody have ideas for how to do this? We tried one trick with an IFrame that seems to work in IE but not in Firefox or Safari.
Can anyone point me to a good tutorial for creating a site-level search applet? I am trying to create a virtual catalog of sorts, and I would like to be able to search the catalog and have the results displayed on the same page with one column text and an image of the product. I've seen several tutorials that create site-level searches that will bring back a search results page with options to choose from. I am looking to create a search that does not bring back this "results" page, but displays an image of the product instead. Given the nature of the products, search results will only bring back one specific item, and so, I would like to skip the "results" page altogether. Any thoughts?
I am trying to pass a screen resolution parameter to a java applet so that it will appear in full screen mode when it launches. This is working fine in Firefox and Chrome but not in IE8.
The javascript fails to call an embeded applet's function. In the javascript console, it shows "Error XXXX is not a function". Following are some parts of my code.
Here parent.document.cpmApplet and parent.BottomIframe.document.resultApplet are valid since I loaded both the applets with the same name using <APPLET> tag for Netscape/Mozilla and OBJECT tag for Windows.
The issue is with Netscape and Mozilla on Unix platforms only. I would appreciate if anyone could help me to solve this.
I am looking at a client’s site that has a scrolling text bar at the bottom of the page for latest news. I have been asked to recommend whether they keep the scrolling text as a java applet or whether they make it dhtml with Javascript to make it scroll.
To be honest, I’m not sure whether there really is an important difference, in terms of download time, likelihood of working (if client browsers are better enabled for one verses the other), or whether there are any other reasons one should be used over the other.