Look & Feel Decorated frames and maximizing.
Does anyone know why when you do L&F decorated JFrames, it breaks the frame maximizing? I've been reading all morning and don't see anything that really explains what's going on with this.
I have a L&F decorated JFrame and I have done some work on my own L&F with some special titlebar handling and whatnot. That's all working perfectly. But when I maximize the frames, it covers the windows taskbar.
My only solution right now is to subclass JFrame and when the extended state is updated to maximize, I reset the maxmized bounds of the frame with info from toolkit and graphics environment to account for the taskbar. This also works fine for the most part.
But the problem with this is that if the taskbar is in auto-hide mode, I have no way to know (that I can find) when it's shown/hidden to force the window to adjust it's size to account for the taskbar size. Except, of course, to constantly check the available window bounds in a thread, which is not very elegant.

