Background & Foreground Colors for Figures [message #223462] |
Wed, 27 September 2006 09:28 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds