detached views Tag

Here is a question that I got on a post about detached views: "How can I detect that a View has been detached from the main window? I would like to adjust the view's behavior in that case." There is no API to obtain that information directly. However it is possible to do this with a few tricks: detached views have an empty window title (i.e. shell.getText().length() ==...

Read More