wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Grey Out effect with DialogBox" Watch "Grey Out effect with DialogBox" New topic
Author

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

Regards,
Vikram


Vikram PracLabs
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

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: http://aspose.com/file-tools
 
subject: Grey Out effect with DialogBox
 
Similar Threads
panel and image problem
Accessing File Dialog Box
the output of DialogBox is very strange
How to program with File Dialog Box.
How to program with File Dialog Box.