use of main.swing.generic.components.editors.FileChooser in project Eidolons by IDemiurge.
the class EmitterController method create.
public void create() {
String presetPath = new FileChooser(PathFinder.getSfxPath()).launch("", "");
if (presetPath == null) {
return;
}
ImageChooser ic = new ImageChooser();
ic.setDefaultFileLocation(PathFinder.getSfxPath() + "images//");
String imagePath = ic.launch("", "");
add(presetPath, imagePath);
}
Aggregations