4 Replies - 478 Views - Last Post: 29 January 2013 - 08:55 PM Rate Topic: -----

#1 smurpetx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 23-January 13

Java Applet in IE9 "NOT" Working.

Posted 29 January 2013 - 05:31 PM

Hello, i don't know if i am the right section of the forum the page this topic. Anyways, I'm using Java7u11 but when i open my webpage file and i call the applet using Javascript it only display a blank page. I already tried what i search through out the internet, Re-install Java , lower down the security of IE9 , Enable ActiveX Filter, and so on. I tried it in Google Chrome and it works fine. But I need it to run in IE9. Any help would be appreciated.

<script type="text/javascript">
	function loadApplet() {
	// Deferred load to display text first
		document.getElementById("applet").innerHTML = '<object id="paste-image"          classid="java:PasteImageApplet.class" type="application/x-java-applet" archive="tst.jar" width="1" height="1">';
		
			
			}
			
			function getImage() {
				obj = document.getElementById('paste-image');
				postTo = "Http://SERVERNAME/PATH/TO/shoot.php"; // Change this to your URL
				
				image = obj.getClipboardImageURL(postTo); // Also got error here "Object doesn't support this property or method."
				
				if (image) {
					url = "shots/" + image;
				
					document.getElementById("target").src = url;
					document.getElementById("url").value = document.getElementById("target").src; // to get full path, hack, I know ;)/>/>
					document.getElementById("container").style.display = "";
				}
			}
		</script>



Is This A Good Question/Topic? 0
  • +

Replies To: Java Applet in IE9 "NOT" Working.

#2 farrell2k  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 822
  • View blog
  • Posts: 2,529
  • Joined: 29-July 11

Re: Java Applet in IE9 "NOT" Working.

Posted 29 January 2013 - 06:07 PM

It's probably just activex filtering. Turn it off. If that doesn't work, then sorry, but IE does suck.
Was This Post Helpful? 0
  • +
  • -

#3 Ghlavac  Icon User is offline

  • D.I.C Addict

Reputation: 84
  • View blog
  • Posts: 519
  • Joined: 14-January 09

Re: Java Applet in IE9 "NOT" Working.

Posted 29 January 2013 - 06:17 PM

I see two problems here.

Applet

And..

Internet Explorer.
Was This Post Helpful? 0
  • +
  • -

#4 smurpetx  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 23-January 13

Re: Java Applet in IE9 "NOT" Working.

Posted 29 January 2013 - 07:25 PM

@Farrel, i've that one already, but still error occurs.

@Ghlavac , and ? any solution ?
Was This Post Helpful? 0
  • +
  • -

#5 Ghlavac  Icon User is offline

  • D.I.C Addict

Reputation: 84
  • View blog
  • Posts: 519
  • Joined: 14-January 09

Re: Java Applet in IE9 "NOT" Working.

Posted 29 January 2013 - 08:55 PM

Shiternet explorer doesn't work well period, you're probably trying to do something in your javascript it doesn't support or something.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1