Reputation: 1342
Customized Title Bar
More and more, professional software are customizing their title bars, whether it be, custom buttons or switchable tabs. Software that I know of:
I would like to know how this can be accomplished using java, and the windows Look And Feel.
Google Solutions:
However these solutions don’t provide the desired effect. There has to be a way, this way might not be easy but one must exist. If I have to combine java with some other programming language, so be it, as long as I can accomplish my goal.
Here, is a link to a post of mine under a different username that I was able to accomplish with the .setUndecorated(true); method. However redrawing the entire title bar is tedious, and I couldn’t get it exactly right. Especially the blur effect.
Please any help will be greatly appreciated. Thanks in Advance.
Upvotes: 1
Views: 1487
Reputation: 1342
Thanx i found a solution, using jni and the tutorial found at http://msdn.microsoft.com/en-us/library/windows/desktop/bb688195%28v=vs.85%29.aspx and Disable Background drawing in JFrame in order to properly display Aero (DWM) effects
Upvotes: 1
Reputation: 109547
Falls under LookAndFeel, UIComponent. Best you delve the sources of some Look&Feel for some code snippet. I do not expect an other answer, because not many people will go so far for a customized theme.
Upvotes: 0