I haven't got the source to hand at this moment but I'd suggest taking a look at any classes that extend UMLDiagram. For example UMLClassDiagram.
Look at the "drop" method (I guess its not obvious to look there, it could be better named). You'll see there where the Figs are created for each diagram element. You should be able to adjust the Fig before it is returned by myFig.setColor(Color.RED); There is an issue to provide the user a tool to select the default color amongst other default styles. You are welcome to work on a patch there or vote to promote its attention to someone else. Regards Bob. 2008/11/23 *. ¸¸. •´¨`»*TAHANI*«´¨`•. ¸¸. * التفاحة <[EMAIL PROTECTED]>: > > dear developer > > > > we want to set default color to draw any > > Associations between classes ( to be red color ) how can we > change this in the code > > > > I mean change from > > from black to red > > > > thinks in advance > > > > > > > > > ________________________________ > Express yourself instantly with MSN Messenger! MSN Messenger
