first I’d like to say a big "THANK YOU’ to Beni for this great piece of code.
I’m (almost) a newbie to swing and an absolute newbie to DF, and I’m doing my first non-trivial app in Swing. For that I want to use DF and created a new theme, that uses very little borders, reduces virtual lines and won’t alienate neither win- nor mac-users (please find a screenshot attached). Since I draw my own borders, I’d like to change the bevel-borders of flap-dock-station and screen-dock-station to empty-borders. How do I achieve this?
Currently the border of the FlapWindow (the window shown by the flap-dock-station) cannot be changed.
For the ScreenDockStation a new ScreenDockWindowFactory will be necessary (use the key ScreenDockStation.WINDOW_FACTORY to globally replace the factory). If for example the new factory creates a ScreenDockDialog, then you could remove the border once the dialog is created.
But instead of writing workarounds I can include some real support for borders in the next release.
P.S. looks nice what you already have, if you are interested we could add it as extension to the library.
P.P.S. I’m rewriting some code concerning tabs right now (* , and I fear your tabs will need some upgrades if the theme should work properly with 1.0.8
(* meaning 1.0.8p1 has already most of the modifications included
I’m currently working with 1.0.7 - maybe I’ll check 1.0.8 at a later date.
Some things in my theme are not done very elegantly (e.g. colors are hard-coded, though it could be easily changed) and I still have no idea how to do the mouse-over-effect on icons (the regular border-effect doesn’t look good in this theme), but apart from that it’s fine for me to add it as an extension. Maybe more via PM (and in German )?