Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » problem with drawing images in Internet Explorer
problem with drawing images in Internet Explorer [message #847765] Tue, 17 April 2012 16:27 Go to next message
Philipp Megow is currently offline Philipp MegowFriend
Messages: 2
Registered: April 2012
Junior Member
Hello,

we have a problem with drawing images (using canvas) in Internet Explorer:
We want to show charts (jfreechart). So we create an image for the chart and draw it using a canvas.

In Firefox all was okay. But in Internet Explorer the image was not shown at the first drawing. Form the second drawing all is okay.

I think our problem the reported in Bug 375615 - [GC] Drawing order of image is not correct.

Is there a workaround for this problem?

Best regards,
Philipp Megow
Re: problem with drawing images in Internet Explorer [message #847785 is a reply to message #847765] Tue, 17 April 2012 16:46 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 335
Registered: July 2009
Senior Member
Philipp,

if you are just showing an image, you may use the Label widget. Call its
setImage() method to set the image. This should also be slightly more
efficient as no client-side Canvas/SVG element is needed.

HTH
Rüdiger

On 17.04.2012 18:27, Philipp Megow wrote:
> Hello,
>
> we have a problem with drawing images (using canvas) in Internet Explorer:
> We want to show charts (jfreechart). So we create an image for the chart
> and draw it using a canvas.
>
> In Firefox all was okay. But in Internet Explorer the image was not
> shown at the first drawing. Form the second drawing all is okay.
> I think our problem the reported in Bug 375615 - [GC] Drawing order of
> image is not correct.
>
> Is there a workaround for this problem?
>
> Best regards,
> Philipp Megow
--
Rüdiger Herrmann
http://codeaffine.com
Re: problem with drawing images in Internet Explorer [message #847868 is a reply to message #847785] Tue, 17 April 2012 18:30 Go to previous message
Philipp Megow is currently offline Philipp MegowFriend
Messages: 2
Registered: April 2012
Junior Member
Hello Rüdiger,

thanks to the tip with the label. it was the solution to create a workaround.

Best regards,
Philipp Megow
Previous Topic:Install Eclipse Rap
Next Topic:How to application RWT.FIXED_COLUMNS, Sample code?
Goto Forum:
  


Current Time: Sun Sep 22 09:11:26 GMT 2024

Powered by FUDForum. Page generated in 0.04286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top