|text.setForeground(...) don't work as expected [message #912836]
||Fri, 14 September 2012 05:16
| Junior Lekane Nimpa
Registered: September 2012
i am facing a strange problem, that i can't explain.
I try to implement my first editor for the Ecore-Meta model with Graphiti.
Actually i am able to add rectangle for EClasses. But i have a problem with the name.
I use Text as graphicsalgorithm.
I set explicitly text.setForeground(...(BLACK)), but the name is red.
I change the foreground color to green, it is still red
No matter what color(different from red) i used, the name is still red.
I can not explain this and i also don't know, what is wrong.
If someone can give some tips, i will really appreciate.
Many thanks in advance
Powered by FUDForum
. Page generated in 0.01715 seconds