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.

Bug 66483

Summary: Cannot make PackageChooserPanel finishable
Product: java Reporter: Milan Kuchtiak <mkuchtiak>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 44242    

Description Milan Kuchtiak 2005-10-11 14:01:00 UTC
We use the following construction :
JavaTemplates.createPackageChooser(project,sourceGroups,customPanel)

to create the second panel for servlets, filters etc.
There is no way to make this panel finishable since these wizards have also the
"next" panel(s).

IMO, the reasonable solution would be to make this panel finishable if
customPanel is finishable or vice versa.
Comment 1 Tomas Zezula 2005-10-12 16:56:51 UTC
It is not needed.
The JavaTemplates.createPackageChooser (...) returns WizardDescriptor.Panel,
so it is easy for the wizard to decorate the returned WD.Panel by
WD.FinishablePanel delegating all the methods except of the isFinishable () to
the returned WD.Panel and implement the isFinishable to return true.