Sangli
Sangli

Reputation: 363

Actions to perform after WizardPage is shown

I'm extending WizardPage class and what I exactly need is to perform some actions after the wizard page is shown. In my case I need to popup a warning dialog after my page is shown. Is there any method like postShowPage or something where I can perform necessary actions after my page is shown?

Upvotes: 0

Views: 33

Answers (1)

greg-449
greg-449

Reputation: 111216

Override the setVisible method of WizardPage to do something when the page becomes visible (or invisible):

@Override
public void setVisible(boolean visible)
{
  ... your code

  super.setVisible(visible);
}

Upvotes: 1

Related Questions