File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes GWT Dialog-Box showing behind the window. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Dialog-Box showing behind the window." Watch "GWT Dialog-Box showing behind the window." New topic

GWT Dialog-Box showing behind the window.

Mohit J Kumar

Joined: Apr 08, 2010
Posts: 28

Hi everyone,
I am trying to open a dialog box on a button-click & the problem is that it is showing up
behind my main window.
I don't want to use CSS manipulation kind of thing.
Is there any method or some other way around.

Any suggestion are welcome.

"It's good to B in touch...So keep responding"
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167

Usually DialogBox#center() is all you need to display the dialog properly. How are you displaying it? Without seeing your code, it is difficult to figure out whats going wrong.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
jQuery in Action, 2nd edition
subject: GWT Dialog-Box showing behind the window.
Similar Threads
How do I keep a dialog box on top?
Focus / Action Listener combo question
Applet dialog not getting focus when coming back to screen using Alt-Tab
Message dialog box displaying behind the main frame
How to crate KeyListener in different Thread?