Thank you, but I think you misunderstood me. I try to explain better.
In my window I have a dock that is visible from the start of the application. Now I like to open another dock in the same location if the user clicks a button. But the problem is that the dock opens in the background of the dock-tab. The user need to click on the 'Units Ov...' tab to open the dock as you can see in the screenshot.
Now my question is: How do I put this new dock automaticly in the forderground?
I tried dock.show(), dock.setFocus() but nothing works.
Bookmarks