@@ -60,14 +60,18 @@ public class LuaAppSettingsEditor extends SettingsEditor<LuaAppRunConfiguration>
6060 private EnvironmentVariablesTextFieldWithBrowseButton myEnvironments ;
6161 private ComboBox <String > outputCharset ;
6262 private JCheckBox showConsoleWindowCheckBox ;
63- private Project project ;
63+ private final Project project ;
6464
6565 LuaAppSettingsEditor (Project project ) {
6666 this .project = project ;
67- FileChooserDescriptor descriptor = FileChooserDescriptorFactory .createSingleFileNoJarsDescriptor ();
68- myProgram .addBrowseFolderListener ("Choose Program" , "Choose program file" , project , descriptor );
69- descriptor = FileChooserDescriptorFactory .createSingleFolderDescriptor ();
70- myWorkingDir .addBrowseFolderListener ("Choose Working Dir" , "Choose working dir" , project , descriptor );
67+ FileChooserDescriptor descriptor = FileChooserDescriptorFactory .createSingleFileNoJarsDescriptor ()
68+ .withTitle ("Choose Program" )
69+ .withDescription ("Choose program file" );
70+ myProgram .addBrowseFolderListener (project , descriptor );
71+ descriptor = FileChooserDescriptorFactory .createSingleFolderDescriptor ()
72+ .withTitle ("Choose Working Dir" )
73+ .withDescription ("Choose working dir" );
74+ myWorkingDir .addBrowseFolderListener (project , descriptor );
7175
7276 DebuggerType [] debuggerTypes = new DebuggerType [] { DebuggerType .Mob };
7377 /*if (SystemInfoRt.isWindows)
0 commit comments