PVR
PVR

Reputation: 2524

Timer Based Application In GWTP

I want to create a GWT application. That whenever the user gets logged in to system, it will show some information in PopUpPanel and after some time it gets disabled automatically.Is it possible with GWT ?

Upvotes: 0

Views: 130

Answers (1)

AbstractChaos
AbstractChaos

Reputation: 4211

Could try something like:

Timer t = new Timer() {
          @Override
          public void run() {
            popUpPanel.hide();
          }
        };
    popUpPanel.show();
t.schedule(5000);

Where 5000 is how long you want to show the pop up for.

Upvotes: 1

Related Questions