|
From: Luan O'C. <lu...@xo...> - 2007-03-29 08:20:08
|
It's done. I hadn't noticed the RFE till I got your message :-( I added a static method XDockableHeader.setUseGradientHeaders to control use of the gradients in the headers. However the header was also ignoring the background color passed in the color array and that is fixed. The way the gradients are painted has also been modified. So you may want to try the gradients again before switching them off. I'm just about to commit the code. I have an 'alternate' session for JavaOne, so it is not guaranteed, but we will have a stand in the pavilion in any case. The presentation is about Swing Vector Graphics. -Luan Greg Gnaedinger wrote: > Hi Luan, > > I hope all is well. > > I just wanted to check if there's any possibility of accomodating > Feature Request 1660901. The application into which I've integrated the > docking framework has been well received and is functioning well. The > only source code modification that I've had to make locally has been to > bypass the GradientPaint in XDockableHeader's 'paintComponent' method in > order to render the header with the uniform background color. It has > been necessary to do this because my application is oriented > horizontally, and the wide panel header ends up rendering mostly white. > This, in turn, becomes confused with rows in adjacent JTables (which > have a white background in Windows L&F). > > Thanks, > -Greg > > p.s. Will you be posting your JavaOne presentation? What is/are the > topic(s) you'll be presenting? > > |