If a JFrame has a JDialog modal open, the JDialog is animated
(the borders and title bar have a lighter colour) if any other part of the application is clicked other than the JDialog with focus. The user is made aware of the window in focus to attend to first.
I have a Swing application with custom dialogs, setUndecorated(true) and custom title bars.
Is it possible to implement the behaviour described above for these custome dialogs?