Problem when a JPanel with a JDialog regains focus

I've a simple application with a JFrame and a nested JDialog under MS Windows. When it regains focus (i.e. another application like MSWord was active and with Alt+Tab or with a mouse-click in taskbar I force my application to gain focus), the JDialog becomes active but I can't see the JPanel because between the dialog and the panel there is MSWord. In z-order I've get the dialog at top, under it MSWord and the panel at background. That's not the regular behavior, but sometimes it happens. Any idea to avoid always this behavior?

Thanks in advance.

[576 byte] By [tfview] at [2007-9-26 2:18:23]
# 1
Any solutions to this problem?
aromanelli at 2007-6-29 9:19:22 > top of Java-index,Archived Forums,Swing...