[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Problem to draw a vertical Label

Hi,

I tried to draw a Vertical Label :

public class VerticalLabel extends Label {

public VerticalLabel (String name) {
super(name);
}
...
protected void paintFigure(Graphics g) {
g.rotate (90);
super (g);

}
..
}

When adding to my Figure, it is displayed but not rotated !
What is wrong ?

thanks
Virginie