Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7867007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:35:27+00:00 2026-06-03T00:35:27+00:00

In my app i have some interactive widgets but while loading data from server

  • 0

In my app i have some interactive widgets but while loading data from server this widgets must be inactivated and activated again after loading is complete. i don’t want to make the widgets invisible or inactivate every single field/button.
the best solution would be a transparent panel with an loading image in its center or corner overlaying the widgets while loading – but how to achieve that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:35:29+00:00Added an answer on June 3, 2026 at 12:35 am

    Here is some simple code to start with. I have used it in some application but it was with GWT 2.0, maybe they got something better now. You could probably replace the Label with an animated Gif image and simply add the panel to the root panel should do the trick.

    import com.google.gwt.user.client.Event.NativePreviewEvent;
    import com.google.gwt.user.client.Event.NativePreviewHandler;
    import com.google.gwt.user.client.ui.Label;
    import com.google.gwt.user.client.ui.SimplePanel;
    
    public class GlassPanel extends SimplePanel implements NativePreviewHandler {
    
        private Label text;
    
        public GlassPanel() {
            setStyleName("glass-panel");
            add(text = new Label());
        }
    
        public void setText(String text) {
            this.text.setText(text);
        }
    
        @Override
        public void onPreviewNativeEvent(NativePreviewEvent event) {
            event.consume();
            event.cancel();
        }
    }
    

    CSS:

    .glass-panel {
        background-color: black;
        opacity: 0.7;
        filter: alpha(opacity=70);
        z-index: 4000;
        position: absolute;
        left: 0px;
        top: 0px;
        right: 0px;
        bottom: 0px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some data (Student info), and my app should be able to read
I have an app that performs some calculations based on data arriving on a
I have an interactive JavaScript app that runs through arrays of data. I don't
in my app I have some text.setTextColor(Color.GRAY) . Now I would like to use
I have some java-app, and i want to establish a connection to some https
i have some WinForms app (Framework to develop some simple apps), written in C#.
i have some WinForms app (Framework to develop some simple apps), written in C#.
I have some settings in my app.config which I intend to be 'global' -
I have some classes in my app that don't require an ID to be
I have some things in my app that I need to store, in order

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.