jQuery in Action, 3rd edition
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

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: 10744

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Grey Out effect with DialogBox
It's not a secret anymore!