måndag 18 oktober 2010

Programmatically selecting Next in NetBeans Wizard

After searching for quite a while for a way to programmatically select Next step in a wizard (if for some reason using the ordinary Next button is not enough), I found this (at http://forums.netbeans.org/ptopic23811.html):

yourWizardVisualPanel.getRootPane().getDefaultButton().doClick()

Inga kommentarer:

Skicka en kommentar