> How to give a focus to a JDialog when I focused on its JFrame?
> Of course, if its opened.
> I ask that because I sometimes open some other application, while my is
> running (JFrame with JDialog opened). Then I want my application again but
> I got it without JDialog which become visible after I minimize "other
> application".
this is well known bug...
add WindowListener to your frame and run following code on windowActivated
Window [] windows = frame.getOwnedWindows();
for(int i = 0; i < windows.length; i++) {
windows[i].toFront();
}

Signature
Andrey Kuznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities