aspose file tools
The moose likes GWT and the fly likes Grey Out effect with DialogBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Grey Out effect with DialogBox" Watch "Grey Out effect with DialogBox" New topic

Grey Out effect with DialogBox

Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Hi All,

Problem: Unable to get the grey out effect on the dialog box. Following is the code:

Have tried to place the dialogBox.setGlassEnabled(true); before show/center and after show/center also. And Have searched every where on Google and tried to achieve it in every possible way, but no luck.

Can anyone please help here


Vikram PracLabs
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10687

These 4 lines work for me

Create a new project from scratch. Take out everything else and put them in your onModuleLoad(). Let us know if you see the glass panel
If yes, run your existing code and inspect the dialog styling. Most probably you have overriden the glass style somewhere

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Thanks Maneesh . Will try that.
I agree. Here's the link:
subject: Grey Out effect with DialogBox