Well, obviously, I do not know how exactly have you implemented your component, but the point is that if you make your component extend [i]org.jdesktop.swingx.JXPanel[/i] then all you need to care about is rotating the text (which you have already done). The background (with gradient, image or just anything) is then handled and customized via painter [i]setBackgroundPainter()[/i]. Richard has put really nice example on the painter use in the javadoc, just check [i]org.jdesktop.swingx.painter.Painter[/i] class javadoc. You will see what I mean. This way anyone can benefit from your work (handling rotation of the text) and all different painters that were already created. I think Romain pointed out more less the same thing at the [url http://forums.java.net/jive/thread.jspa?threadID=21775]other thread[/url] you have started at swingx. And maybe we should continue the discussion there. [Message sent by forum member 'rah003' (rah003)]
http://forums.java.net/jive/thread.jspa?messageID=193489 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
