Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Java applet takes up whole page

Hi,

I have the ffg extension:

Qva.LoadScript("http://www.java.com/js/deployJava.js", function () {

Qva.AddExtension('Applet', function() {

this.Element.html = "<div></div>"

          var attributes = {codebase:'http://java.sun.com/products/plugin/1.5.0/demos/jfc/Java2D',

                      code:'java2d.Java2DemoApplet.class',

                      archive:'Java2Demo.jar',

                      width:710, height:540} ;

    var parameters = {fontSize:16} ;

    var version = '1.6' ;

    deployJava.runApplet(attributes, parameters, version);

},true);

});

This works, I can display the extension, however the applet takes up the whole screen, how do I stop this from happening, can I add it to an iframe or something like that.

The plan is to, create a java applet, then use javascript to manipulate the applet, and use Qlikview to provide the data into the extension, using its interface,

The purpose of creating the applet is so that I can create a 3D modelling tool, to produce things like surface charts or contour charts, since its far easier to use java to create this instead of using javascript.

Any Help/Ideas/Suggestions will really be appreciated......

Kind Regards

Razak

0 Replies