PDA

View Full Version : How to get a FileService from a Wizard Panel Implementation



zengland
06-17-2004, 12:49 PM
How do I get or create a FileService from a class that extends DefaultSwingWizardPanelImpl?
I tried using getService(FileService.NAME), but that only exists for a WizardPanel or WizardAction. How about one of the interface classes for a WizardPanel?

I also tried creating the custom WizardPanel object and calling it's getService method, but I get the compile error :
getService(java.lang.String) has protected access in com.installshield.wizard.WizardBean

kflowers
06-18-2004, 02:36 PM
FileService fileSvc = (FileService)getPanel().getServices().getService(FileService.NAME);