Draw2D problems on Linux [message #216868] |
Fri, 26 May 2006 08:36 |
Manuel Selva Messages: 189 Registered: July 2009 Location: Grenoble, France |
Senior Member |
|
|
Hi all,
I am working on an eclipse plugin which displays chart in a view using
Draw2D.
My charts, and of course the draw2d panel in which this chart is drawn,
must be very large. When i launch my plugin on a windows plateform all is
fine: all my draw2d figures are displayed into the panel. When i launch it
on a Linux system (Red hat 3) it doesn'work correctly: some parts of the
panel are not displayed...
So my question is : does this bug come from my application source code or
does anybody know if there are some problems with large Draw2D figures on
a linux plateform ??
Thanks
Manu
http://manuelselva.wordpress.com/
|
|
|
|
|
Re: Draw2D problems on Linux [message #217260 is a reply to message #216868] |
Fri, 02 June 2006 05:56 |
Eclipse User |
|
|
|
Originally posted by: puneet82sri.sify.com
if u can elaborate a bit more how u r making use of draw2d..
as u said that u r using panel..
why r u not using figurecanvas.. for drawing
making use of scrolpane if figures r big...
try out this.. may help u
|
|
|
Re: Draw2D problems on Linux [message #217267 is a reply to message #217260] |
Fri, 02 June 2006 08:23 |
Manuel Selva Messages: 189 Registered: July 2009 Location: Grenoble, France |
Senior Member |
|
|
Thanks for your answer, here are some precisions
I am using a FigureCanvas of course and i put into this figureCanvas a
draw2D panel wich is the root figure of the drawing i want to display.
This panel contains a lot of figures and some of them are layout at an X
position that could be 100 000. That means the following code is invoked:
myPanel.add(myFigure, new Rectangle(100 000, 200, 60,60));
As the FigureCanvas is scrollable i can scroll to the end of the panel to
see myFigure.
In that case the real display problem is the following:
myPanel has got a blue background and when i scroll over it (to scroll to
myFigure) in some parts of this panel the blue background is not visible
and a classical background is displayed.
Does anyone know why ?
Thanks.
Manu
http://manuelselva.wordpress.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03448 seconds