I have created a application using BorderLayout, my navigation tree is on "east", my content is on "west". When click a link in tree, a html file (content.html) is loaded and display in "west". In content.html file, a dialog will be created and displayed. If I collapse "east", I want to resize my dialog base on current "west" view size. Because my dialog is created in different file(this file is not include layout variable), so I cann't get notification when "west" is resized.

Any solutions can solve this scenarion?

Very Thanks.