From: David G. <dav...@ob...> - 2007-02-12 17:34:50
|
Christo Zietsman wrote: > I've create a new border and was forced to extend BlockBorder since the > TextTitle class accepts it in the setBorder() method. I didn't want the > thick borders I get from BlockBorder, which uses drawRect() for the > sides. My new border (LineBorder) draws the border using lines. Is there > another way to get nice thin borders? Could there be unwanted side > effects that I'm not aware of? Subclassing BlockBorder is fine, although I should probably have defined a Border interface or something similar. > I'm willing to submit the my LineBorder > class, should I just attached it and send it to the list or is there a > prefered way to submit additions? > For new classes, you can either attach the file or post it to the Patch Manager at SourceForge: https://sourceforge.net/tracker/?group_id=15494&atid=315494 For modifications, a patch generated using 'cvs diff -uN > patch.txt' is ideal, along with some description of what the change does. Regards, Dave |