This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
/** Helper method. It's actually next button event handler. */
private void handleNextButton() {
// #40531 workaround
Runnable performer = new Runnable() {
public void run() {
panels.nextPanel();
try {
panels.previousPanel();
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(ise.getMessage()));
updateState();
}
};
if (SwingUtilities.isEventDispatchThread()) {
performer.run();
} else {
SwingUtilities.invokeLater(performer);
} // End of inner class Listener;