Hi, trying to open IDEA's FileChooser from within an ApplicationComponent for a one time initialization of my Plugin i.e. when first run.
FileChooser takes either a Project or a java.awt.component and since I can't guarantee that a project is open i'd like to find the the appropriate Component to pass into the FileChooser.
I've tried code like:
But obviously this doesn't work; not sure where to go from here.
Any advice welcome.