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.

View | Details | Raw Unified | Return to bug 40531
Collapse All | Expand All

(-)src/org/netbeans/modules/i18n/wizard/I18nWizardDescriptor.java (+12 lines)
Lines 223-228 Link Here
223
        
223
        
224
        /** Helper method. It's actually next button event handler. */
224
        /** Helper method. It's actually next button event handler. */
225
        private void handleNextButton() {
225
        private void handleNextButton() {
226
227
            // #40531 workaround
228
            Runnable performer = new Runnable() {
229
                public void run() {
226
            panels.nextPanel();
230
            panels.nextPanel();
227
            
231
            
228
            try {
232
            try {
Lines 231-236 Link Here
231
                panels.previousPanel();
235
                panels.previousPanel();
232
                DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(ise.getMessage()));
236
                DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(ise.getMessage()));
233
                updateState();
237
                updateState();
238
                    }
239
                }
240
            };
241
242
            if (SwingUtilities.isEventDispatchThread()) {
243
                performer.run();
244
            } else {
245
                SwingUtilities.invokeLater(performer);
234
            }
246
            }
235
        }
247
        }
236
    } // End of inner class Listener;
248
    } // End of inner class Listener;

Return to bug 40531