Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Background & Foreground Colors for Figures
Background & Foreground Colors for Figures [message #223462] Wed, 27 September 2006 09:28 Go to next message
Eclipse UserFriend
Originally posted by: geetesh.jain.gmail.com

Hi Experts,

I have a figure say A, and there are many other figures which are child
elements of A. So A acts as a container for them holding all the
elements/figures.

My objective is to set colors to all the elements.

Now the issue is
i can set foreground and background color for Figure A.
However for the rest of the child elements which are dropped over the
Figure A,
i can set only Foreground color. ( i mean only foreground color is
visible).
I have set the Opaque property as false also but still no success as such.

Can someone help me out may be by some example how to set foreground &
background colors to all elements.


Thanks
Geetesh
Re: Background & Foreground Colors for Figures [message #224041 is a reply to message #223462] Wed, 11 October 2006 10:45 Go to previous message
Eclipse UserFriend
Originally posted by: geetesh.jain.gmail.com

I have resolved this issue..

i was using drawRect() method in paintFigure method . however i was not
using fillRect() method because of which all my methods to set background
colors were not showing any results.


Thx.
Geetesh
Previous Topic:How can I implement this function?
Next Topic:Help in Palette
Goto Forum:
  


Current Time: Mon Jan 20 07:24:07 GMT 2025

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

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

Back to the top