• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet to html communication

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
iam using 2D graphics in my applet to draw lines using mouse.iam having the buttons to replay what ever i have drawn in Html file.now when iam not using 2D graphics iam able to communicate with applet from html through buttons in html.but when iam using 2d graphics iam getting an OLE error when i press the button top replay the drawings.
can some one please help me whether 2D graphics support Applet to Html communication??
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi
Check your VM. If you're looking at this in IE, the Microsoft VM does not support the Java2 Graphics2D class. To get IE to support this class you need to use the Java Plug-In.
Tobe
 
ravi vardhin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Tobe Stephens:
Ravi
Check your VM. If you're looking at this in IE, the Microsoft VM does not support the Java2 Graphics2D class. To get IE to support this class you need to use the Java Plug-In.
Tobe


dear tobe,
i downloaded the plugin,
actually iam using the object tag in my html file.when iam using this object tag i could not communicate with html from applet.
if iam using applet tag iam able to communicate,
but applet tag is not suppoting the 2D graphics.Object tag is supporting 2d graphics but html communication is not possible.
can some one help me how to use 2d graphics with html to applet communication.
Thanks in advance
ravi
    Bookmark Topic Watch Topic
  • New Topic