Background image [message #200590] |
Tue, 25 October 2005 15:47 |
Eclipse User |
|
|
|
Originally posted by: eyecanseeyou.free.fr
Hello,
What is the best way to show an image in the background of my GEF editor ?
Thank you.
|
|
|
|
Re: Background image [message #200695 is a reply to message #200670] |
Wed, 26 October 2005 07:15 |
Eclipse User |
|
|
|
Originally posted by: eyecanseeyou.free.fr
Yes, but I would like to know if there is a method in the GEF objects to
put a background image (without adding figure)... Of course if there is no
method I will use a figure ;-)
Thanks.
venkataramana wrote:
> What do you think of the one below ? :-)
>
> class DiagramFigure extends Figure/Layer/...
> {
> protected void paintFigure(Graphics graphics)
> {
> graphics.drawImage(<some image>, new Point(0, 0));
> }
> }
>
> ~Venkat
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds