aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 9993

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!]
I agree. Here's the link:
subject: GWT Dialog-Box showing behind the window.
Similar Threads
Message dialog box displaying behind the main frame
Focus / Action Listener combo question
Applet dialog not getting focus when coming back to screen using Alt-Tab
How do I keep a dialog box on top?
How to crate KeyListener in different Thread?